2020-04-28, 05:16:15
Hi,
I found following code in the thread what comes handy for debugging purposes:
However, this part does not seem to output anything:
$your_item->fields->image->imagename
Is imagename still a valid part of ItemManager version 2 ?
I found following code in the thread what comes handy for debugging purposes:
Code:
foreach($your_item->fields->image->imagename as $imagename) {
if($imagename == 'your_image.jpg')
echo $imagename;
}
However, this part does not seem to output anything:
$your_item->fields->image->imagename
Is imagename still a valid part of ItemManager version 2 ?