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

vhmauery’s picture

Status: Active » Fixed

The dangers of using the private api of the image module. Fixed in CVS.

drewish’s picture

sorry 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.

vhmauery’s picture

Drewish,

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.

Anonymous’s picture

Status: Fixed » Closed (fixed)