MyBB Community Forums

Full Version: What is wrong? Icon does not show ...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I am using the default skin. Now I want to add my gameroom link. I loaded the icon to use in both places- images and toplinks. When I configured it as shown here.. the name Gameroom is linked up properly but the icon ( 16X16 gif. image ) does not show.
Please tell me what I am doing incorrect.. I have tried several different ways and stared at the code, and still can't see why. It's driving me nuts!... Huh

thank you:

<li><a href="http://www.myforum.com/gameroom"><img src="{$theme['imgdir']}/toplinks/mario.gif" boder="0" alt="" title="" />Gameroom</a></li>
Try to use a full static path instead of the theme imgdir.
Hi labrocca... so in other words I should change the code... to read the full path such as public_html/images/toplinks/mario.gif
I am not sure since I cannot get anything to work...
Thank you I will play with that..hehehe
No you don't put public_html into any URLs... using the original code, it should work fine as long as the image is in the /toplinks/ folder in the image folder your theme uses...
Well I found that out...but I still cannot get it to work... I guess I am not getting it.. I know what you are saying LOL so then it should be

<li><a href="http://www.myforum.com/gameroom"> <img src="{$theme['imgdir']}/images/toplinks/mario.gif" boder="0" alt="" title="" />Gameroom</a></li>

This is where the image is... since I only have the default skin on the forum ...no other ones

/public_html/images/toplinks

This is silly I know I am missing something but then again ...it is a noob question .. Smile
<img src="{$theme['imgdir']}/images/toplinks/mario.gif"

That isn't what I meant, that would break it if you ever imported new themes... so all of the images for your themes are in the standard ./images/ folder, there's not another folder inside there for theme images?? What's your actual URL?? It's hard to debug things when people give a www.myforum.com link...

Edit: nevermind, found it, this is where you're saying it's meant to be http://www.webxforum.com/images/toplinks/mario.gif but it gives a 404, which means it isn't there... so the code seems to have been fine as what it was to begin with but the image just isn't in the right place.
It is there but it will not display.. it is in the folder.. so I guess I will look for another image and scale it down .. I guess..I can do that and test it to make sure it shows...
Well, a 404 error means that something isn't there, which is what I get when I go to that image.

http://www.webxforum.com/images/toplinks/mario.gif

Not Found

The requested URL /images/toplinks/mario.gif was not found on this server.

Are you sure it's in the /toplinks/ folder, in the /images/ folder, and isn't CHMOD to anything daft like 000 or something?? Can you printscreen it in your file manager/FTP??
Know what? Nothing shows... I am using mario.png now and even that will not show...I just changed it...I will print screen.. to show I am in that folder... hold on one second Matt and thank you so very much for this help..
Where should I send it...?
Got the screenshot in a PM.

The image is CHMOD to 777, try changing it to 644, or -rw-r--r--

Wouldn't have though that would cause a 404 error though but it might cause a problem if your host disallows setting an image to that CHMOD setting.
Pages: 1 2