Lightbox gives _imagefield_file_load() error

thePanz - October 30, 2008 - 12:57
Project:Lightbox2
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Using latest 6.x-1.x-dev version I get an error about PHP can't call "_imagefield_file_load()".

This issue is caused by line 60 in lightbox2.formatter.inc, it must be changed from

<?php
     $file
= _imagefield_file_load($item['fid']);
?>

to
<?php
         $file
= field_file_load($item['fid']);
?>

since imagefield seems to don't provide this file loading method.

Regards

#1

stella - October 30, 2008 - 13:30
Status:active» fixed

Fixed in CVS. Will be included in the next dev release, available later today.

Cheers,
Stella

#2

thePanz - October 30, 2008 - 13:31

Thank you Stella... Really fast fix! :)
Regards!

#3

Anonymous (not verified) - November 13, 2008 - 14:12
Status:fixed» closed

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

#4

stella - January 8, 2009 - 14:10

Released in Lightbox2 6.x-1.9.

Cheers,
Stella

 
 

Drupal is a registered trademark of Dries Buytaert.