امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Hello 
Is there a way to make an image in a template open in lightbox, when clicked?
This is my code. It opens the image in a new tab, not in a lightbox:
HTML:
...
Read more
Is there a way to make an image in a template open in lightbox, when clicked?
This is my code. It opens the image in a new tab, not in a lightbox:
HTML:
کد:
<a href="{{ link('media/full', $mediaItem) }}" style="cursor: pointer;"
class="js-lbImage"
target="_blank"
data-src="{$mediaItem.lightbox_src}"
data-type="{$mediaItem.lightbox_type}">
<img class="xfmg-image" src="{{ link('media/full', $mediaItem)}}" width="100%" data-zoom-target="1"/>
</a>
Read more
