<% screens.each do |screen_path| %>
<% next if screen_path.include?"_framed.png" %>
<% screen_size = FastImage.size(File.join(SnapshotConfig.shared_instance.screenshots_path, screen_path)) %>
<% width = ((screen_size[0] / divide_size_by).round rescue 0) %>
<% width = [width, max_width].min %>
<% style = (width > 0 ? "width: #{width}px;" : '') %>
<% image_counter += 1 %>
|
<% end %>
<% end %>