Fatal error: Call to undefined function _imagecache_get_presets() in /home/qaratc/public_html/modules/jquery_slideshow/jquery_slideshow.module on line 84

I have installed the Jquery Slideshow, but when I try to use it I get the fatal error.

Can you advise?

Imagecache 5x.2.2
Jquery Update 5x.1.3
Jquery Plugins 5x.2.0

Comments

nvoyageur’s picture

Right now Jquery Slideshow only works with Imagecache 1.x

soyarma’s picture

StatusFileSize
new2 KB

I really like this slideshow, but I needed to use imagecache2, so I did a quick hack on the module to make it work. Not all of the transitions work, but I only needed fade (which does work) so I didn't look into why the others have issues.

I make no guarantees and reiterated that this is a quick hack.

Replace your module file with this one.

soyarma’s picture

StatusFileSize
new1.91 KB

Error in that zip I uploaded. I had forgotten to remove some cache clearing stuff that made imagecache2 angry.
Use the zip below instead

nvoyageur’s picture

Wow, that is a hack. I'd rather use the APIs provided by Imagecache then to run my own queries on the database. If Imagecache changes it's db schema, then you need to redo your queries.

Thanks for the code.

soyarma’s picture

The two added functions are actually the functions right out of imagecache 1.x, so technically they are the API 1.x function calls

The format of those tables remained the same between 1.x and 2.x, so I imagine that they will remain the same until 3.x at least.

nvoyageur’s picture

The 5.x dev version on http://drupal.org/node/338700/release now supports Imagecache 1.x and 2.x. If you need Imagecache 2.x then please test this version. It works for me thus far. After a few days I'll add it as another release if it doesn't have any other bugs.

Next on this list is upgrading to 6.x, that will take upgrading the CCK dependencies.

nvoyageur’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.