Postponed
Project:
CCK Multimage
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 May 2008 at 22:12 UTC
Updated:
7 Aug 2009 at 17:25 UTC
I just upgraded to imagecache 5.x-2.0 and received the following error when I tried to edit multimage under CCK Multimage Settings.
Fatal error: Call to undefined function _imagecache_get_presets() in /var/www/sites/all/modules/cck_multimage/cck_multimage.module on line 141
Would it be possible for you to add compatibility with imagecache 2.0?
Comments
Comment #1
leanazulyoro commentedi need this too please, imagecache 2.0 is great and i'd really like to use it, is there a patch to make it work?
Comment #2
zbombicz commentedI have the same problem... any solution?
Comment #3
rodneireis commentedSame problem. Subscribing.
Comment #4
silviogutierrez commentedI will take a look at imagecache 2.0; it looks like a great update. Once I figure out how to hook unto it, I'll probably update this module.
Silvio
Comment #5
havran commentedHere is solution (simple patch) http://drupal.org/node/214208...
Comment #6
strawman commentedThats seems to be for the inline module...not sure how that works with multimage module...though I did try just changing the function name in the multimage module and it sort of worked...it then gave me an error in the common.inc about an illegal offset...Anyways...another look into this would be great as I am running into the same issue and am trying to solve this...
Comment #7
noslokire@drupal.org commentedSame problem as above, took a look at the inline patch as well, same confusion there.
Comment #8
Zoologico commented:(
Tracking.
Comment #9
sageroo commentedI am getting the same error. The problem being is that I am not utilizing the inline module so I am not sure why the patch would be written for that module and not the ImageCache module. Anyone have any thoughts?
Comment #10
paulnem commentedHi, any luck with getting this to work? Would some money move the process along?
Comment #11
silviogutierrez commentedThis module will be migrated to Drupal 6.x soon; it will require the new imagecache 2.x API.
I have no plans of maintaining a 5.x version anymore.
Silvio
Comment #12
ncameron commentedHere's a quick and dirty fix. This should probably be turned into a patch or somehow 'officiated', I'm not a big fan of ad hoc changes to module files but when you have to deliver, c'est le vie.
So here's what to do. Open up cck_multimage.module. Go to line 145 and add the below code (but NOT the php tags).
Now you need to change two things just below this
and again.....
This did it for me.
Cheers,
Neil
Comment #13
jun commentedIt did it for me as well, I think this change should be included in the 5.x.1.1 branch.
Thanks!
Comment #14
obrigado commentedI had to change from:
$presetsIM[$preset['presetid']] = $presetIM['presetname'];
to:
$presetsIM[$presetIM['presetid']] = $presetIM['presetname'];
To get the fix in http://drupal.org/node/262999#comment-1063713 to work.
Comment #15
fuquam commentedVery nice Neil. Thank you.
- Scott