Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / images problem following upgrade

images problem following upgrade

Locked

Views: 1,519

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
4 Mar 2007, 4:28 PM
#1
alpage2 avatar

alpage2

New Zenner

Join Date:
Nov 2005
Posts:
16
Plugin Contributions:
0

images problem following upgrade

I upgraded a store from 1.3.6 to 1.3.7, which seemed to complete OK. I decided at that point that I would discontinue the use of a third-party template which was complicating things, so did not bother applying any changes to the files of that template.

To tidy things up completely, I wanted to start with a fresh install of 1.3.7, in a subdirectory of the same name as the original.

I backed up the database, renamed the subdirectory of the original shop, recreated the original subdirectory (/shop) and used it for a fresh copy of 1.3.7 - so far, so good.

I edited /includes/configure.php and /admin/includes/configure.php restoring the paths and settings that had been used in the original shop, when it had occupied a subdirectory of the same name.

I imported the mysql database into that of the new installation, from the backup taken from the previous shop. This looked good - all my previous shop settings seemed to import OK, along with all the product details.

I am now using the Classic template.

I used an ftp client to download and re-upload the image files from the /images subdirectory of the old shop, to the new, in order to restore all the product images.

This is where things have gone awry. According to my ftp client, all the product image files are in the right place, but they do not display in the shop. Nor do they display if the path to the image is typed into the browser address bar. None that is, except the last four products to be installed in the shop - this inconsistency I find more confusing than anything else :-(

In the shop configuration, display product images is set to '1' - I assume that means on?

I'd be grateful for any pointers as to how to get the images working.

Thanks in anticipation.
Alan

4 Mar 2007, 5:10 PM
#2
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: images problem following upgrade

Anything to do with images is best assisted with a url to look at

4 Mar 2007, 5:18 PM
#3
alpage2 avatar

alpage2

New Zenner

Join Date:
Nov 2005
Posts:
16
Plugin Contributions:
0

Re: images problem following upgrade

Thanks Ryk

Take a look at http://www.cakesofgoodtaste.co.uk/shop

Regards
Alan

4 Mar 2007, 5:54 PM
#4
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: images problem following upgrade

Hmmm - if they're all as large as 519792_EP06.jpg (557kb! ) then we could be waiting for ever for them to appear!

Uh..oh THAT was a small one! I think you've just taken the record for the largest ever thumbnail (in terms of filesize) displayed on a ZenCart...1290.83 kB!!

You have really serious image optimisation issues here which COULD be what's causing the problem.

4 Mar 2007, 5:59 PM
#6
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: images problem following upgrade

But PLEASE - even if you install ImageHandler, reduce the filesizes of those images - a 640x480 image should only be around 40-50KB.

Apart from anything else, you'll be using a massive amount of bandwidth - assuming anyone ever stays long enough for a page to open!

4 Mar 2007, 6:04 PM
#7
alpage2 avatar

alpage2

New Zenner

Join Date:
Nov 2005
Posts:
16
Plugin Contributions:
0

Re: images problem following upgrade

Many thanks for those pointers.

ftp changing the case of the filenames hadn't occurred to me.

And yes, I've been a bity lazy with image optimisation - I'll take a look at that too.

Regards
Alan