Jump to content

Topic on Project:Support desk/Flow

166.70.49.115 (talkcontribs)

Can anyone tell me what I'm doing wrong with my local settings to get my logo to work? I've tried to copy exactly what the help documents say but just can't seem to get it to work. Here is line from my LocalSettings.PHP.

$wgLogo = "$wgScriptPath/wiki/images/ThanoTechLogoGREY.jpg";

What am I missing? Do I need to add public_html before wiki in the path?

Thanks in advance!

87.123.19.84 (talkcontribs)

$wgScriptPath by default points to the folder, in which you have MediaWiki installed. From what you have set there, I guess that you installed MediaWiki into a folder called wiki/? This folder will by default already be part of $wgScriptPath. Try with

$wgLogo = "$wgScriptPath/images/ThanoTechLogoGREY.jpg";

The file ThanoTechLogoGREY.jpg then belongs into the images/ folder.

166.70.49.115 (talkcontribs)

Still nothing...it's just a blank white box. I just realized though that the image I'm trying to use is huge so I'll need to resize it. Would that effect if it works?

87.123.56.23 (talkcontribs)

Is your wiki public so that I can have a look?

If the image is to huge, it can be cut off showing only little part of the actual image.

You should be reading Manual:$wgLogo! It will contain hints on most of the issues, which might arise.

166.70.49.115 (talkcontribs)
166.70.49.115 (talkcontribs)
87.123.56.23 (talkcontribs)

Actually, I think it's all on the page already:

Your image is present at the right location, this location can be accessed and the source code is also pointing to it. But the image is - Donald Trump - huuuuge. ;-) Recommended size is 135x135 pixels. Yours is around 3000 pixels too big - in either direction. What you see is just a white part of your image.

166.70.49.115 (talkcontribs)

Resizing it did work. Thanks for your help!