Jump to content

PAGES: Custom Display View Formats


Silnei L Andrade

Recommended Posts

Posted

Hi guys,

 I created a custom field of multiple image upload, but it displays the links to the images and I do not know how to make the template. Is there any tutorial or topic where users can share these templates or even a custom field template package to buy?

 

My Custom template:
templates.thumb.png.03e916d1ba3c6d96b4e73fe024251010.png

Posted

Searching i found this template for multiple uploaded images. If anyone need, it's here:

<section data-controller='core.front.core.lightboxedImages' >
  {{$images = $record->customFieldDisplayByKey('gpsimgs', 'raw');}}
  {{foreach $images as $image_url}}
    <a class='ipsAttachLink ipsAttachLink_image' href='{$image_url}' >
      <img src='{$image_url}' class='ipsImage ispImage_thumbnailed' alt='$url' style='max-height: 34px'/>
    </a>	
  {{endforeach}}
</section>

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...