Skip to content

Instantly share code, notes, and snippets.

@tyteen4a03
Created December 11, 2013 05:45
Show Gist options
  • Save tyteen4a03/7905612 to your computer and use it in GitHub Desktop.
Save tyteen4a03/7905612 to your computer and use it in GitHub Desktop.
<section>
<h1 class="h3">{{ galleryTitle }} (click on each picture to enlarge image)</h1>
{% for image, caption in galleryContent|batch(5) %}
<div style="margin: auto;">
<a rel="{{ galleryID }}" href="{{ image }}" class="swipebox" title="{{ caption }}">
<img src="{{ image }}" alt="image" style="width: 15%; height: auto;">
</a>
</div>
{% endfor %}
</section>
Notice: Array to string conversion in G:\wnmp2\Wnmp\html\myworks\Twig\Environment.php(331) : eval()'d code on line 37
Call Stack
#TimeMemoryFunctionLocation 10.0000136672{main}( )..\index.php:0 20.0060495872Twig_Environment->render( )..\index.php:20 30.02901401856Twig_Template->render( )..\Environment.php:292 40.02901418424Twig_Template->display( )..\Template.php:261 50.02901418784Twig_Template->displayWithErrorHandling( )..\Template.php:250 60.02901418880__TwigTemplate_2de09e5736a3171445dfc37a8bf06a09067ce15619ac52abd3ee675259d5d853->doDisplay( )..\Template.php:276 70.04401470272Twig_Template->display( )..\Environment.php(331) : eval()'d code:121 80.04401470384Twig_Template->displayWithErrorHandling( )..\Template.php:250 90.04401470480__TwigTemplate_cabd5de1930532bebd48f070b4dd9c4e22464fb0cde9ad4bcda74bf29bbe470c->doDisplay( )..\Template.php:276 100.06501577656Twig_Template->display( )..\Environment.php(331) : eval()'d code:34 110.06501577768Twig_Template->displayWithErrorHandling( )..\Template.php:250 120.06501577864__TwigTemplate_91bc1efd9bbcc5862d742dded746f4e3bf1efa2b5c098948e42579f93a6f308f->doDisplay( )..\Template.php:276
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment