Png not displayed correctly
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Nov 30, 2006 4:14 pm
Png not displayed correctly
Hi there !
I just installed joomla for the first time and the demo site is running on my PC. (Apache, My SQL).
The only problem I have now is that the png images doesn't show up (IE 6 and FireFox) when I access the site from à computer other than the one where the server and site reside. If I copy the link of the image in the address bar of the browser, the image is correctly shown. Is there a workaround ? Depending on the answers I'm gonna get, I'll probably convert all image to .jpg to save time.
Thanks !
I just installed joomla for the first time and the demo site is running on my PC. (Apache, My SQL).
The only problem I have now is that the png images doesn't show up (IE 6 and FireFox) when I access the site from à computer other than the one where the server and site reside. If I copy the link of the image in the address bar of the browser, the image is correctly shown. Is there a workaround ? Depending on the answers I'm gonna get, I'll probably convert all image to .jpg to save time.
Thanks !
-
- Joomla! Guru
- Posts: 903
- Joined: Fri Apr 07, 2006 2:36 pm
- Location: UK
- Contact:
Re: Png not displayed correctly
Did you install Joomla as localhost, or 127.0.0.1, or did you use the server computer's external IP address?
If the former, image links in Joomla will be confused if you access it from any other machines. It can be solved by changing the configuration.php file to make the mosconfig_live_site variable the external IP address for the machine. If the latter, IE6 has quite a few issues with PNG files, but FF having the same problem makes me suspect the images aren't getting loaded correctly.
If the former, image links in Joomla will be confused if you access it from any other machines. It can be solved by changing the configuration.php file to make the mosconfig_live_site variable the external IP address for the machine. If the latter, IE6 has quite a few issues with PNG files, but FF having the same problem makes me suspect the images aren't getting loaded correctly.
FlexAdvert - the _improved_ Banner Management Suite. Find it at extensions.joomla.org under Advertising Banners
Bleurgh Joomla Extensions - http://www.bleurgh.co.uk - usage instructions, updates and so on
Performance FAQ: http://forum.joomla.org/index.php/topic,88070.0.html
Bleurgh Joomla Extensions - http://www.bleurgh.co.uk - usage instructions, updates and so on
Performance FAQ: http://forum.joomla.org/index.php/topic,88070.0.html
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Nov 30, 2006 4:14 pm
Re: Png not displayed correctly
Thanks mpettitt !
I installed as localhost. I'll try other config in configuration.php.
Thanks for the tip.
I installed as localhost. I'll try other config in configuration.php.
Thanks for the tip.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Nov 30, 2006 4:14 pm
Re: Png not displayed correctly
I tried with 127.0.0.1. Have a look at the attachements ...
You do not have the required permissions to view the files attached to this post.
- rsphaeroides
- Joomla! Ace
- Posts: 1369
- Joined: Sun Aug 21, 2005 2:57 pm
- Location: Colorado, USA
- Contact:
Re: Png not displayed correctly
Those are probably all background images defined by template_css.css.
It looks like all of your style is missing, so it's not the links to the individual images but the link to the style sheet that is problematic.
It looks like all of your style is missing, so it's not the links to the individual images but the link to the style sheet that is problematic.
¡Pura Vida!
Ray,
joomla in testing at Costa Rica Travel: http://costaricamap.net
http://costa-rica-guide.com
Ray,
joomla in testing at Costa Rica Travel: http://costaricamap.net
http://costa-rica-guide.com
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Nov 30, 2006 4:14 pm
Re: Png not displayed correctly
Thanks for your reply ...
If I go into properties by right-clicking on the "missing image" icon in the "empty" webpage, and paste this link into the remote computer's browser, the image displays fine.
I saw in template_css.css that images link are in parent paths (background: url(../images/subhead_bg.png) repeat-x;) ... do I need to enable parent paths in Apache ? or type the complete path (from the root) in the css ?
Thanks a lot for your help !
If I go into properties by right-clicking on the "missing image" icon in the "empty" webpage, and paste this link into the remote computer's browser, the image displays fine.
I saw in template_css.css that images link are in parent paths (background: url(../images/subhead_bg.png) repeat-x;) ... do I need to enable parent paths in Apache ? or type the complete path (from the root) in the css ?
Thanks a lot for your help !
- rsphaeroides
- Joomla! Ace
- Posts: 1369
- Joined: Sun Aug 21, 2005 2:57 pm
- Location: Colorado, USA
- Contact:
Re: Png not displayed correctly
I don't see the "missing image" icon in the "empty" webpage screen shot. If there is a problem linking to the style sheet the page would never know there was supposed to be an image so there would be no missing image.
I'm saying that the top screenshot you posted looks like it has NO style associated with it at all. There is no positioning or font formatting etc.
Do you have the firefox delveloper toolbar? If there is style applied you should see it with that and you can live edit the sheet to find a path that works.
I'm saying that the top screenshot you posted looks like it has NO style associated with it at all. There is no positioning or font formatting etc.
Do you have the firefox delveloper toolbar? If there is style applied you should see it with that and you can live edit the sheet to find a path that works.
¡Pura Vida!
Ray,
joomla in testing at Costa Rica Travel: http://costaricamap.net
http://costa-rica-guide.com
Ray,
joomla in testing at Costa Rica Travel: http://costaricamap.net
http://costa-rica-guide.com
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Nov 30, 2006 4:14 pm
Re: Png not displayed correctly
Got it !
Thanks to all for your help. The problem was effectively in configuration.php. I change 127.0.0.1 for machinename and it works fine now.
Thanks again an sorry for this newbie question ! I hope It'll at least help other newbies !
Thanks to all for your help. The problem was effectively in configuration.php. I change 127.0.0.1 for machinename and it works fine now.
Thanks again an sorry for this newbie question ! I hope It'll at least help other newbies !
- rsphaeroides
- Joomla! Ace
- Posts: 1369
- Joined: Sun Aug 21, 2005 2:57 pm
- Location: Colorado, USA
- Contact:
Re: Png not displayed correctly
That makes sense. If you've got it wrong in the configuration it's not going to find styles or images or anything. I guess the path to the database was sufficient for the content but I'm not sure where it was finding an index.php to stick it in.... not important as long as it's working now.Olyster wrote: Got it !
Thanks to all for your help. The problem was effectively in configuration.php. I change 127.0.0.1 for machinename and it works fine now.
Thanks again an sorry for this newbie question ! I hope It'll at least help other newbies !
¡Pura Vida!
Ray,
joomla in testing at Costa Rica Travel: http://costaricamap.net
http://costa-rica-guide.com
Ray,
joomla in testing at Costa Rica Travel: http://costaricamap.net
http://costa-rica-guide.com
-
- Joomla! Guru
- Posts: 903
- Joined: Fri Apr 07, 2006 2:36 pm
- Location: UK
- Contact:
Re: Png not displayed correctly
Joomla needs to know what machine it is running on. If you use localhost or 127.0.0.1, you are telling Joomla that the server is the same machine as is viewing the pages - they are both loopback addresses. If you give the machinename, or the network ip address, it knows which machine to look for images and styles on, and everything is happy again!
The giveaway symptom for this is that it works on the machine where Joomla is running, but nowhere else, and 9 times out of ten, the solution is to just let Joomla know the external IP address for the machine it is running on.
The giveaway symptom for this is that it works on the machine where Joomla is running, but nowhere else, and 9 times out of ten, the solution is to just let Joomla know the external IP address for the machine it is running on.
FlexAdvert - the _improved_ Banner Management Suite. Find it at extensions.joomla.org under Advertising Banners
Bleurgh Joomla Extensions - http://www.bleurgh.co.uk - usage instructions, updates and so on
Performance FAQ: http://forum.joomla.org/index.php/topic,88070.0.html
Bleurgh Joomla Extensions - http://www.bleurgh.co.uk - usage instructions, updates and so on
Performance FAQ: http://forum.joomla.org/index.php/topic,88070.0.html