Closed (fixed)
Project:
Thickbox
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Aug 2008 at 04:06 UTC
Updated:
27 Aug 2008 at 06:54 UTC
I am trying to utilize the imagefield gallery option specifically
with the 'gallery per post' setting.
This will not work as expected if one or more imagefields used
on a page are not part of the page via a node_load but present
perhaps via Views or some other form.
Basically in these cases there is no 'nid' present in the $items array
which is what is checked in the function that implements the
imagefield gallery.
The attached patch adds a check to see if the 'nid' is present via the
$node object if there is no 'nid' via the $item context.
This is in thickbox_field_formatter() function.
| Comment | File | Size | Author |
|---|---|---|---|
| thickbox.module.patch | 1.05 KB | jaydub |
Comments
Comment #1
frjo commentedThanks for the patch. I have committed it to 5-dev and 6-dev.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.