I am trying to: output multiple images with link to mediafile
In content template used following code
<a href="[types field='extra-foto' size='full' url='true'][/types]">[types field='extra-foto' size='thumbnail' align='left' resize='crop' separator=' '][/types]</a>
I visited this URL: hidden link
I expected to see: thumbs with links to it's mediafile (lightbox)
Instead, I got: thumbs link to all mediafiles instead of it's own.
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Jef,
Thank you for contacting our support forum.
Is there a page setup that hosts all the images for this post ? As it stands wordpress will only link 1-1 images meaning the smaller image will link to its Larger counterpart.
In essence this is not possible unless you have a page that you can use that image to link to.
Thanks,
Shane
I want to link the smaller image (thumb) to i'ts larger format, like a gallery. Why would I need a page setup for that?
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Jef,
I'm a bit confused as when I click on the image it already links to its larger file in a lightbox.
I'm not sure what you want to achieve exactly. Could you please clarify some more for me.
Thanks,
Shane
With adding the
[wpv-for-each field="extra-foto"]
before the link my problem was solved. Thanks.
Noman
Supporter
Languages:
English (English )
Timezone:
Asia/Karachi (GMT+05:00)
Hello Jef,
I am going to takeover Shane's tickets because he is on leave.
Great to hear that you have resolved this issue. Can you please kindly mark this current ticket as resolved if all is good now?
Have a great day.
Thank you