3 replies [Last post]
adrianmak's picture
Offline
Joined: 05/28/2008
Juice: 312
Was this information Helpful?

by ubercart enabled, four imagecache presets are defined
product, product_full, product_list, uc_thumbnail

Can I define my own preset name which is used for ubercart ?

calisto's picture
Offline
Joined: 03/11/2009
Juice: 40
Re: can imagecache preset name be used other names ?

You can change the names of the presets, but you have to consider that the preset name is concurrent the name of the directory the processed image is saved.
Therefore automatic product images are not displayed untill you readjust the directory name in the specific module files.

But it is no problem to use additional presets.

calisto

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: can imagecache preset name be used other names ?

Ubercart only knows to look for those presets when it displays the product and category images. If they don't exist, the images won't show up there. You can still create your own presets and use them however you like, though.

polaatx's picture
Offline
Joined: 02/24/2008
Juice: 36
Re: Re: Re: can imagecache preset name be used other names ?

So I can't get it to use a different preset in full node than the one used in teaser?

On my site, both full node and teaser images are using the PRODUCT preset. Also clicking on the teaser thumb just gives me the image created by PRODUCT_FULL instead of take me to the full node of the product. The latter is what I what I want.

Please see my related post here: http://www.ubercart.org/forum/support/9386/field_image_vs_field_image_ca...

thanks.

My religion is kindness.