Change size of image presets in ImageCache

Posts: 53
Joined: 11/17/2007

How do I change the image preset sizes?

If I make the change in ImageCache Ubercart does not display the image at the new size. If I set the ImageCache size back to the Ubercart default size it displays the image.

I just want to increase the size of the image on the Product node to 200x200 instead of 100x100.

Thanks,

--

Thanks,
Claire
Tutus for Toddlers sells Tutus using UberCart for e-commerce with Drupal.

Posts: 146
Joined: 11/10/2007
Bug Finder

The images should be flushed when you create the new size.. Make sure you clear the cache.

--

Give and you will receive, you will be given much. Pressed Down, Shaken together, Running Over, it will spill into your lap.

Posts: 925
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

http://www.ubercart.org/faq/4067

Don't forget to flush your browser cache too...

--

<tr>.

Posts: 53
Joined: 11/17/2007

I did that and now I dont have any pictures for any products.

Even after I upload the images again no pictures show up in the catalog or product page.

Claire,
Tutus for Toddlers

--

Thanks,
Claire
Tutus for Toddlers sells Tutus using UberCart for e-commerce with Drupal.

Posts: 925
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

Images are showing fine for me on your site - are you doing this at a different URL?

--

<tr>.

Posts: 53
Joined: 11/17/2007

getimagesize(files/imagecache/product/files/hannah-montana-tutu.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /sites/all/modules/imagecache/imagecache.module on line 241.

filesize() [function.filesize]: stat failed for files/imagecache/product/files/hannah-montana-tutu.jpg in /sites/all/modules/imagecache/imagecache.module on line 244.

fopen(files/imagecache/product/files/hannah-montana-tutu.jpg) [function.fopen]: failed to open stream: No such file or directory in /includes/file.inc on line 564.

getimagesize(tmp/producthannah-montana-tutu.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /sites/all/modules/imagecache/imagecache.module on line 191.

Imagecache scale action ID 2 failed.

--

Thanks,
Claire
Tutus for Toddlers sells Tutus using UberCart for e-commerce with Drupal.

Posts: 146
Joined: 11/10/2007
Bug Finder

Also make sure you don't have 2 presents for the same imagecache field. I actually did this by mistake and got the same error.

--

Give and you will receive, you will be given much. Pressed Down, Shaken together, Running Over, it will spill into your lap.

Posts: 925
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

The getimagesize() error is a bug in Imagecache 1.6. You should upgrade to Imagecache 1.x-dev or downgrade to Imagecache 1.5.

--

<tr>.

Posts: 53
Joined: 11/17/2007

I'll check on that but I did not create any presets. I was only using the ones that the Deluxe package setup by default.

Claire,
Tutus for Toddlers

--

Thanks,
Claire
Tutus for Toddlers sells Tutus using UberCart for e-commerce with Drupal.

Posts: 53
Joined: 11/17/2007

This is the version I am using:
version = "5.x-1.5"
project = "imagecache"

--

Thanks,
Claire
Tutus for Toddlers sells Tutus using UberCart for e-commerce with Drupal.

Posts: 146
Joined: 11/10/2007
Bug Finder

Were using 5.x-1.x-dev and it works fine.

--

Give and you will receive, you will be given much. Pressed Down, Shaken together, Running Over, it will spill into your lap.

Posts: 53
Joined: 11/17/2007

I'll give that a shot.

Claire,
Tutus for Toddlers

--

Thanks,
Claire
Tutus for Toddlers sells Tutus using UberCart for e-commerce with Drupal.

Posts: 53
Joined: 11/17/2007

So, here is how I got it to work:
I uninstalled ImageCache and made sure the db tables were removed
I put 5.x-1.x-dev in the /modules folder instead of the /sites/all/modules folder
I unchecked the CCK Imagefield module from the admin section
I installed the 5.x-1.x-dev module
I created the product preset
I enabled the CCK Imagefield
I uploaded an image and now it works

Thanks for all your help!

--

Thanks,
Claire
Tutus for Toddlers sells Tutus using UberCart for e-commerce with Drupal.