Accueil › Toolset Professional Support › [Résolu] lightbox on image in repeating field
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Marqué : Types plugin
This topic contains 4 réponses, has 2 voix.
Last updated by Dido Il y a 6 mois et 1 semaine.
Assigned support staff: Shane.
I want to add a link on my repeating images. But how?
I read this article, but this will not suit me in Avada.
Hope you can help me with this.
Anglais (English )
Thank you for getting in touch.
You can actually use the following method below to display you repeatable image fields.
You can output the raw image URL and reconstruct the anchor tags with an image tag as well. Example
<a href="someurl or shortcode with url"><img src="[wpv-post-field name='my-field' output='raw']" /></a>
Please let me know if this helps.
I don't get it.. I use this code for the output of my images
<div>[types field='foto' title='%%TITLE%%' alt='%%ALT%%' align='none' size='custom' width='86px' height='86px' resize='crop' separator='
How can I achieve what I need?
Here is the correction.
<a href="[types field='foto' output='raw'][/types]"><img src="[types field='foto' title='%%TITLE%%' alt='%%ALT%%' align='none' size='custom' width='86px' height='86px' resize='crop' separator='
' output='raw'][/types]" /></a>
With the code above you should have the basic skeleton to achieve your goal.
My issue is resolved now. Thank you!
Known issues and solutions
Frequently asked support questions
Support tickets archive
Get help from experienced contractors
Meet Toolset support team
Toolset Customer Support Policy
Need to tell us something about the quality of support
How to remove personal information from your database for support