lightbox diaporama site
This commit is contained in:
@@ -74,5 +74,11 @@
|
||||
{% if multiple %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div id="lightbox" class="lightbox">
|
||||
<span class="close">×</span>
|
||||
<img class="lightbox-content" id="lightbox-img">
|
||||
<a class="prev" id="prev">❮</a>
|
||||
<a class="next" id="next">❯</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@@ -0,0 +1,15 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation of an image.
|
||||
*
|
||||
* Available variables:
|
||||
* - attributes: HTML attributes for the img tag.
|
||||
* - style_name: (optional) The name of the image style applied.
|
||||
*
|
||||
* @see template_preprocess_image()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<img class="lightbox-trigger" {{ attributes }} />
|
Reference in New Issue
Block a user