4 replies [Last post]
littly_kitty's picture
Offline
Bug Finder
Joined: 01/20/2008
Juice: 155
Was this information Helpful?

I know that imagecache 2.0 isn't officially supported until Ubercart 2.0. However, are there any dangers to using Imagecache 2.0 now?
I have been trying Ubercart and Imagecache 2.0 on a local MAMP installation with no problems, but I would like to hear from the experiences of others who have also tried it (preferably on a live site).

If later down the line I have problems, is downgrading to Image Cache 1.5 a viable option (or would I be better just rebuilding the site from scratch).

Is there anyway to install imache cahce 1.5 just for the Ubercart part of the site and then have image cahce 2.0 installed for other (non-ubercart) areas of the site that need it?

Thanks for any help.

goodeit's picture
Offline
Joined: 05/28/2008
Juice: 322
Re: Any Dangers to using image cache 2.0?

I have been using ubercart with imagecache 2.0 for a couple months and have had no problems, aside from ubercart not correctly creating the presets when it was first installed. Aside from that, everything works fine. This is on an (almost!) live site.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Any Dangers to using image cache 2.0?

If you enable Ubercart while Imagecache 2.0 is there, there will be some database errors since the schema changed between 1.5 and 2.0. However, once things are set up right, Ubercart won't be able to tell the difference. The actual API for Imagecache is still the same.

The best thing to do is to install Ubercart and Imagecache 1.5 together, and then upgrade to 2.0 (which means installing imageapi, etc.). This keeps all of the default settings safe.

sashomi's picture
Offline
Joined: 06/19/2008
Juice: 29
Imagecache 2.x

I'm using Imagecache 2.x for a long time and I didn't experienced any troubles until recently. The problem I stuck with is in caching all the images. It seems that imagecache 2.x. put somehow expire date in the past and browsers don't cache all the images. This makes a lot of trouble with the speed. This is what I get:

Expires: Sun, 19 Nov 1978 05:00:00 GMT, Sun, 19 Nov 1978 05:00:00 GMT
Cache-Control: store, no-cache, must-revalidate, post-check=0, pre-check=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0

This date is set by drupal_page_cache_header().
When I revert to imagecache 1.7 and unmark ImageAPI GD2 and ImageAPI ImageMagick in the modules section, everything is cached normally. I don't see why imagecache 2.x does this, don't see any big differences with 1.7 . The only suggestion is, that something in ubercart tell him not to cache images. Any suggestions?

TR
TR's picture
Online
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Imagecache 2.x
<tr>.