Download & Extend

Lightbox gives _imagefield_file_load() error

Project:Lightbox2
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Status:active» fixed

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

Cheers,
Stella

#2

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

#3

Status:fixed» closed (fixed)

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

#4

Released in Lightbox2 6.x-1.9.

Cheers,
Stella