Hello,
Just found this plugin and really like it!
How can I reference custom fields so that I can include them in the popup (I'm using thickbox) after clicking a thumbnail?
For instance... including a description, price, etc below the image caption
on line 1756 of bwb-photosmash.php, I modified the code to read:
(my custom field is image_description)
if($img){
$imgtitle = str_replace("'","",$img['image_caption']);
$imgdesc = str_replace("'","",$img['image_description']);
$imgtext = $imgtitle.' - '.$imgdesc;
$ret = "<img src='".PSIMAGESURL.$img['file_name']."'".$img['imgclass'] ."alt='".$imgtext."' />";
}
No success, though. Any ideas?
resolved