Thickbox on RC5

Posts: 8
Joined: 01/27/2008

Hi, just wanted to drop a line for something I just encountered.

I'm using Thickbox 1.2 and ImageCache 2.0 as soon as I updated to RC5, Thickbox refused to resize the product images correctly.

What happens is that the first image is thumbnailed, but subsequent ones are in their original size.

Has anyone encountered this situation and/or has a solution for this?

Thanks in advance!

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

Probably not Thickbox - this is probably a side effect of Ubercart renaming the Imagecache presets between RC4 and RC5. Make sure you run update.php to correct this. If that doesn't work, go to admin/settings/imagecache and flush the presets. Flushing your browser cache wouldn't hurt, nor would truncating your Drupal cache tables.

--

<tr>.

Posts: 8
Joined: 01/27/2008

TR wrote:
Probably not Thickbox - this is probably a side effect of Ubercart renaming the Imagecache presets between RC4 and RC5.
...which reminded me that I did patch thickbox according to this entry when switching to RC4. The problem back then was that no image was being loaded at all, something different from what I queried in this post.

TR wrote:
Make sure you run update.php to correct this.
I did this with no luck.

TR wrote:
If that doesn't work, go to admin/settings/imagecache and flush the presets. Flushing your browser cache wouldn't hurt, nor would truncating your Drupal cache tables.
Nothing of this worked, and funny thing is that admin/settings/imagecache didn't show me anything to flush presets. Odd.

"Solved" this reverting to backup code, but I noticed that Lyle posted a #1124 revision with "Fix the imagecache presets...." at bazaar. I'll try it out tomorrow or during weekend, and post here the outcome.

Thanks for you reply, TR!

Posts: 2243
Joined: 08/07/2007
AdministratoreLiTe!

Revision 1124 was fixing a mistake I had made in renaming the presets Ubercart sets up for its own use. The only one that was affected was uc_category, not any of the ones used for products.

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

According to the issue cited above (http://drupal.org/node/205420), _imagecache_get_presets() was renamed in ImageCache 2.0, so uc_catalog_update_7() (in Bazaar) will only work for ImageCache 1.x.

Slightly off topic, but it sure would be nice if all modules, like ImageCache, would list significant changes in their release notes so that people using those modules would know what issues they have to deal with when upgrading. This change is not mentioned at all in the release notes for ImageCache - instead it says "You have to look at a diff against 1.5 to really see the changes." Gee, thanks, that's helpful!

--

<tr>.

Posts: 18
Joined: 02/29/2008
Bug Finder

I had big problems trying to get ImageCache 2.0 to work correctly with Ubercart RC5, so I went back to the prior version (1.5). Good luck!

-Jacob