[SOLVED] About getting the values of an image field

More
9 years 10 months ago - 9 years 10 months ago #56527 by rottenberg
Hello
I am using an image which has 2 optionnal values :
  • Hyperlink
  • long description (tooltip)

I want to use the the content of the image field in another field.
When I display {{image##0}} to get the optional values of the field, I get this

{s:12:"existingname";s:0:"";s:12:"originalname";s:28:"mes_premiers_livres_dart.jpg";s:7:"urllink";s:51:" adcj.fr/adcj/index.php/nos-livres/les-li...b:0;s:6:"remove";b:0 ;}


No problem to get the image url : It's {{image##0##originalname}}
No problem to get the hyperlink url : It's {{image##0##urllink}}

I don't get the tooltip content value.
Is it possible to get it. If not no problem, i'll create a text variable.

best regards

Michel
Last edit: 9 years 10 months ago by ggppdk.

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

More
9 years 10 months ago #56530 by ggppdk
For tooltip Title: use 'title'
{{image##0##title}}

For tooltip Description: use 'desc'
{{image##0##desc}}


-- 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...
The following user(s) said Thank You: rottenberg

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

More
9 years 10 months ago #56531 by rottenberg
thank you very much
best regards

Michel

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.408 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save