Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / All Images Vanish after " Use Proportional Images on Products and Categories"

All Images Vanish after " Use Proportional Images on Products and Categories"

Started by tapper on 2 Apr 2013, 3:42 PM · Views: 915

Results 1 to 2 of 2
2 Apr 2013, 3:42 PM
#1
tapper avatar

tapper

Zen Follower

Join Date:
Nov 2007
Location:
Upstate NY
Posts:
233
Plugin Contributions:
0

Post #1 by tapper

Hi All

I have an external images path set in the config file define('DIR_WS_IMAGES').

Our images are a variety of shapes so a standard 125x125 etc shape won't work. When both "calculate image size" and "Proportional Images" are true all of our images appear properly.

I'm moving and rebuilding a couple carts and testing 1.5.1. This behavior occurs in 1.5.1 and 1.3.9h.

When Proportional Images is true all product and category images vanish. Neither version displays images. When I turn proportional off the prod and category images appear but they are skewed without the calculation.

Changing the config back to standard and putting the images local to the cart fixes this. But I can't work with local images in the long run. Out of a catalog of 40K products I am making some smaller boutique sites to go with the main one. I'd like to maintain ONE images dir that all sites can share - I'd rather not have to upload to multiple directories even more than I do now :p

All "sharing" sites are on the same servers. I have this set up 2 ways. The 1.5x (and a 1.3x) are on a traditional cPanel LAMP host and is sharing images from another domain in the same account. Another 1.3x is on some kind of cloud LAMP thing at 1&1 Hosting that has custom mgmt controls. In this env there's a long funky path to things and the sites are assigned "spaces" or something. Anyway, all the sites are kinda in the same "space" so pointing the images folder looks bizarre but the end result is the same as the traditional cPanel setup.

So. I have 2 very different environments and 2 cart versions and neither can display external images when "proportional" is turned on.

Does anyone know how I can have proportional images with external images?

2 Apr 2013, 4:14 PM
#2
tapper avatar

tapper

Zen Follower

Join Date:
Nov 2007
Location:
Upstate NY
Posts:
233
Plugin Contributions:
0

Post #2 by tapper

OK, I just read Dr. Byte's post at /showthread.php?192811-Remove-http-mysite-from-images

If you want to host your images someplace else. . . you need to rewrite the image handling infrastructure in Zen Cart to no longer offer multiple images per product, no longer handle intelligent resizing of images, no longer offer click-for-larger-image capability, etc.

That answers my question!

Nevermind :blush: