|
#1
|
|||
|
|||
|
Icons/Images not showing
It seems I have encountered an odd problem, or maybe I am just mising the obvious here :
I can't change (or add) images to the basic template .. somehow, if i try to change for example the RSS text link to an image/Icon link, the image is not showing(or in some cases, it showes only 1 or 2 rows of pixels... (using IMG) It is surely a simple CSS error, but it is driving me crazy :-) |
|
#2
|
||||
|
||||
|
Perhaps a link to this odd behavior?
One thing to keep in mind when adding images, is that when the template loads it's going to displayed in the root of your photoblog, so any paths to images need to account for that.
__________________
My Photoblog If you find my help useful please consider feeding the PixelPost Kitty If you're short on cash just feed my ego |
|
#3
|
|||
|
|||
|
Sorry .. I can not post a link for 2 reasons :
1. - If I will post a link, You will not see the problem, you will just see a normal installation of the templte, because the picture is not showing :-) 2. - I do not have it on a server yet, but in a localhost install on my computer But as i said before , except for the images not showing, you see almost nothing ifferent. Just take the default installation of PP , and in the browse_template.html try to change the words "valid CSS" for example with <img src="../../images/something" /> . The result of that , is nothing for me . and so is the case if I add a new <div > </div> with an image inside. (for example at the end of the page, just before the body closure... the div creates a table , but no image is shown. strange, eh ?? |
|
#4
|
||||
|
||||
|
There are some pretty smart people on the boards here who know PixelPost pretty well and could probably figure out the problem with enough information. Since you really haven't given me much to go on, I'm going to make some broad assumptions. The footer for simple template's browse_template.html looks like this:
HTML Code:
<div id="footer"> Site Style: <a href="#" onclick="setActiveStyleSheet('light'); return false;">Light</a> / <a href="#" onclick="setActiveStyleSheet('dark'); return false;">Dark</a> | <SITE_RSS_LINK> / <SITE_ATOM_LINK> | <a href="http://validator.w3.org/check/referer" title="This website uses Valid xHTML">Valid xHTML</a> / <a href="http://jigsaw.w3.org/css-validator/check/referer" title="This website uses Valid CSS2">Valid CSS</a> </div> HTML Code:
<a href="http://jigsaw.w3.org/css-validator/check/referer" title="This website uses Valid CSS2">Valid CSS</a> HTML Code:
<a href="http://jigsaw.w3.org/css-validator/check/referer" title="This website uses Valid CSS2"><img src="path/to/your/image.jpg"></a> This: HTML Code:
| <SITE_RSS_LINK>
HTML Code:
| <a href="http://yourdomain.com/path/to/pixelpost/index.php?x=rss"><img src="path/to/your/image.jpg"></a>
__________________
My Photoblog If you find my help useful please consider feeding the PixelPost Kitty If you're short on cash just feed my ego Last edited by dakwegmo; 10-30-2007 at 09:05 PM. |
|
#5
|
||||
|
||||
|
True, when you post the link you won't see the image. But we will see the code. And that beats an image every time
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#6
|
|||
|
|||
|
Hi...
well, when i tried to put he images, I did exactly what you later did I have uploaded images to show what is happening: This is the normal link : ![]() this is how it looks in the code and in the HTML editor : ![]() and this is how the result looks in the browser (firefox) ![]() see that small gray line? that is the presumed image (the pixel button you see in the HTML editor) Is the problem more clear now? anyone had that problem before?? |
|
#7
|
||||
|
||||
|
See my original reply to your question for a hint at the answer, then see my last reply for a more thorough examination of the answer. Specifically though, you need to remove the ../../ from your image's source path. The reason for this is as I mentioned in my first reply
Quote:
Either way though, the image won't show up in the design view of your HTML editor, because it's assuming a path relative to the document browse_template.html, not the actual document that calls the code which is /index.php.
__________________
My Photoblog If you find my help useful please consider feeding the PixelPost Kitty If you're short on cash just feed my ego |
|
#8
|
|||
|
|||
|
Thanks ..
I have resolved the problem by re-writing the CSS (something I had to do anyhow for my template) . I do not know what the problem was , but it is resolved now. Thanks anyhow ... |
| Post Reply |
| Thread Tools | |
|
|