Accessing individual components (image) in checkboximage field

1 year 4 months ago #67153 by michal.rames@gmail.com
Hi,

I can render HTML of compound (checkboximage) field like so:

FlexicontentFields::getFields($item);
FlexicontentFields::getFieldDisplay($item, 'field21');

And then parse the rendered HTML to get the image out.

Is there a more straightforward way to access the image?

Thanks

Michal

Please Log in or Create an account to join the conversation.

1 year 4 months ago #67155 by ggppdk


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

1 year 4 months ago - 1 year 4 months ago #67168 by michal.rames@gmail.com
Hi,
Excellent, this is exactly what I was looking for, thank you! I should do a better job reading the FAQs...

However, it looks like it's more code than rendering HTML and then parsing out the image :)

/ michal

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.