PDA

View Full Version : Images don't show in IE since 1.7.1 upgrade


uzodinma
01-23-2008, 10:33 PM
I've just upgraded to PP 1.7, and now i can't see images in IE. Firefox works just fine. I'm not really good at coding so don't really know where to start. Could do with some help.

Dkozikowski
01-23-2008, 11:09 PM
Did you remember to upload the new index.php file when you upgraded?

I ask because the <IMAGE_WIDTH> and <IMAGE_HEIGHT> template tags are not being replaced.

uzodinma
01-23-2008, 11:58 PM
I am very sure i copied all the files as instructed. The upgrade was smooth, so i'm really not sure what i did wrong. As i mentioned before, everything works great on Firefox.

dakwegmo
01-24-2008, 02:14 AM
I am very sure i copied all the files as instructed. The upgrade was smooth, so i'm really not sure what i did wrong. As i mentioned before, everything works great on Firefox.

It works in Firefox because FF doesn't make assumptions for blank values for height and width attributes. IE assumes zero for blank values. So, the image is there, it's being downloaded, and shows up exactly the way one would expect IE to interpret attributes that look like this: width="" height="".

As Dave pointed out, the <IMAGE_WIDTH> and <IMAGE_HEIGHT> template tags aren't being replaced. These tags are controlled by index.php, so that is usually the place where you find the problem. It also happens that it is quite common to miss the index.php when updating to the new version. If you don't want to re-upload the file, check the header of the file on your server and find the line that says Pixelpost version... Make sure it is the version you just upgraded to, and not an older version.

uzodinma
01-24-2008, 09:19 AM
Thanks for all the help so far. I re-uploaded the index.php file last night when it was suggested that this may be the cause and nothing changed. In desparation i reloaded the saved index.php file from the backup i did before the upgrade. No change

I have since put things back to where they were and have checked the version information in the file. The file says it is Version 1.7, though the PP package is Ver 1.7.1. My site confirms i am running ver 1.7.1.

Could there be anything else missing? All assistance is appreciated.

Dkozikowski
01-24-2008, 09:28 AM
You should be fine if you uploaded all the files.

I can personally check and run some tests if you allow me FTP access. If you feel comfortable with the idea, private message me (http://www.pixelpost.org/forum/private.php?do=newpm&u=1312) the details needed.

austriaka
01-24-2008, 09:49 AM
Please upload the 1.7 index.php file again and empty the browser cache of IE and Firefox

Dkozikowski
01-24-2008, 03:54 PM
The image path is incorrectly configured.

Once you update your image path to ../images/ , your <IMAGE_HEIGHT> and <IMAGE_WIDTH> tags will begin to work as expected.

uzodinma
01-24-2008, 06:33 PM
Many thanks to dwilkinsjr, your last tip fixed things. I would never have spotted it myself. Thanks to everyone who tried to help.

EarlThorfinn
02-02-2008, 11:05 PM
Many thanks from me as well! Saved me from a night of headscratching :)

hitendra
02-06-2008, 05:33 AM
I had same problem; I blame IE7 coz FF, Opera was OK. then quickly revert back to 1.6 & save my day.
Now kindly tell me which file need this path change?

austriaka
02-06-2008, 05:50 AM
please check the images and thumbnails path in Admin Options.
It must be "../images/" and "../thumbnails/" (assuming your images and thumbnails folder is named like this)

hitendra
02-06-2008, 07:05 AM
Done! Thanks.