Skip Navigation

[Résolu] make the image to link to open the light box

This support ticket is created Il y a 6 années et 1 mois. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Marqué : 

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par NattapatP8602 Il y a 6 années et 1 mois.

Assisté par: Luo Yang.

Auteur
Publications
#1141906

My issue is resolved now. Thank you Luo Yang!

I saw the result and it work fine now.
However, is it possible to make the image to link to open the light box and see bigger image when it was clicked ?

#1141917

Hi,

Yes, it is possible, you just need to setup the HTML codes light box format, for example, edit the content template, as below:

<div class="flexslider">
  <ul class="slides">
        [wpv-for-each field="wpcf-image"]
            <li><a href='[types field="image" size="full" url="true"][/types]' data-elementor-open-lightbox="default" data-elementor-lightbox-index="1" tabindex="-1">[types field="image" size="thumbnail"][/types]</a></li>
        [/wpv-for-each]
  </ul>
</div>

More help:
lien caché

#1142866

My issue is resolved now. Thank you Luo Yang!