-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
I've implemented a gallery on one of my projects using the code from the readme and the page load times in production on the gallery page are incredibly slow. I only need a gallery with 10 images max, but it is slow with just 4.
The view code:
<%- @page.images.each do |image| %>
<figure>
<a href=<%= image.thumbnail(geometry: "1024x").url %> data-size=<%= "#{image.thumbnail(geometry: "1024x").width}x#{image.thumbnail(geometry: "1024x").height}" %> data-turbolinks="false">
<%= image_fu image, '283x223#', alt: "Image description", itemprop: "thumbnail" %>
</a>
<figcaption itemprop="caption description"><%=image.title %></figcaption>
</figure>
<% end %>
I've tried it on another page (on a different and faster server) with the same results.
Metadata
Metadata
Assignees
Labels
No labels