Skip to content

Commit

Permalink
adjust thumb size to 200
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Feb 1, 2025
1 parent 5d6a985 commit c9186be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/location_picture_xrefs/_show_thumbs.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- location_picture_xrefs.each do |lpx|
- if lpx.photo.attached?
= link_to image_tag(lpx.photo.variant(resize_to_limit: [100,100])), lpx.photo.variant(resize_to_limit: [800,800]), :class => "location_thumb location_picture_xref_#{lpx.id}", :"data-lightbox" => "location_thumb"
= link_to image_tag(lpx.photo.variant(resize_to_limit: [200,200])), lpx.photo.variant(resize_to_limit: [800,800]), :class => "location_thumb location_picture_xref_#{lpx.id}", :"data-lightbox" => "location_thumb"
= render :partial => 'location_picture_xrefs/remove_picture', :locals => {:lpx => lpx}

0 comments on commit c9186be

Please sign in to comment.