Closed (fixed)
Project:
Acidfree Albums
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2007 at 00:17 UTC
Updated:
11 Jul 2007 at 19:45 UTC
It seems the latestest 5.x-1.x-dev image.module no longer contains the function _image_get_dimensions(). Everytime one tries to see an album page the only thing you get is this:
Fatal error: Call to undefined function _image_get_dimensions() in /home/xxxxx/public_html/modules/acidfree/class_album.inc on line 350
Comments
Comment #1
vhmauery commentedThe dangers of using the private api of the image module. Fixed in CVS.
Comment #2
drewish commentedsorry about that, some times i forget there are other modules that dig around in the internals of the image module. i've just been trying to clean up a lot of old crufty image module code, the goal is a much easier to understand module. i'll try to keep a working release posted.
Comment #3
vhmauery commentedDrewish,
Don't worry about it. By definition, it was okay to change, being an internal api. Don't worry about keeping an older version -- I just wrapped the call to _image_get_dimensions in Acidfree and checked to see if the function exists (and if _image_get_sizes exists) to call the appropriate function.
Comment #4
(not verified) commented