Forums / General Questions / Strange image behavior

Strange image behavior

Results 1 to 5 of 5
13 Aug 2011, 22:04
#1
adjb avatar

adjb

New Zenner

Join Date:
Aug 2006
Posts:
6
Plugin Contributions:
0

Strange image behavior

Site - https://ptshop.co.uk

Zen version - Zen Cart 1.3.8a
Database Patch Level: 1.3.8

Today I updated my stock list. Prior to this there were no issues.

I added some new directories for the new images, the original images were untouched.

I uploaded the new stock using Easy Populate (as I always have in the past)

Since the update the shop when viewed in IE Ver 9 (32 & 64 bit) displays the product images correctly until you click on an individual item when the "show larger image" box is empty but when clicked on displays the image in the popup.

When the site is viewed in Firefox Ver 3.6.18 no product images at all are displayed.

All the native zen images display fine in both browsers.

Prior to the update, hence using exactly the same images and settings for the majority of the stock, there were no issues displaying the images in either browser so whatever has happened has affected both the new updated stock and the old (working) stock.

File permissions have not been altered, I have tried this on two different machines (one not mine) with the same results so I doubt my browser settings are the issue.

Any suggestions very gratefully accepted.
13 Aug 2011, 22:12
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Posts:
10,475
Plugin Contributions:
9

Re: Strange image behavior

Looks ot me as though you uploaded your image file names with the slashes the wrong way around (i.e. Microsoft backslashes rather than Unix forward slashes).

As a result in some places those slashes are being interpreted as "escape" characters rather than directory separators, obscuring the location of the images and causing them not to be found.
13 Aug 2011, 23:37
#3
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,564
Plugin Contributions:
0

Re: Strange image behavior

Please note: you are using an outdated version of Zen Cart that has know vulnerabilities. You need to upgrade.
14 Aug 2011, 21:34
#4
adjb avatar

adjb

New Zenner

Join Date:
Aug 2006
Posts:
6
Plugin Contributions:
0

Re: Strange image behavior

@ kuroi

Changing the back slash to forward slash makes absolutely no difference to the behaviour. The results are identical to those described above.

@ Kim

Noted - I will update immediately. A question though, I regularly use the "check for updates" feature on the admin page and this has not shown any of the updates from 1.3.8a to date - why is this? or does it only show major version updates?

My original question still stands.
14 Aug 2011, 23:34
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Posts:
10,475
Plugin Contributions:
9

Re: Strange image behavior

When I look at the paths to your images, I still see the slashes going going the wrong way in some places on the home page and therefore stripped out of the paths on the product page, making the images unfindable.