I'm using the new Grid system in EE 2.7.3 and trying to create an image gallery with it. Typically I'd use the normal file upload format as a normal file:

    <img src="{path}_thumbs/{filename}.{extension}" alt="{title}">

But with the grid system I have to use

     <img src="{gallery_images:community_image}" alt="{gallery_images:title}">

How can I get that to go to the path for the thumbnails?


You can use your original code if you prefix variables with the Grid field's short name. The purpose of the prefix is to avoid conflicts with the outer Channel Entries loop; it doesn't affect functionality.

          <img src="{path}_thumbs/{filename}.{extension}" alt="{title}">
  • This does not work in EE 2.9.0. Have you tested this in other versions? – Friend of Kim Aug 2 '14 at 12:53
  • It is broken in EE 2.9.0. Replacing /system/expressionengine/libraries/Grid_parser.php with an old version fixed the problem. – Friend of Kim Aug 2 '14 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.