diff --git a/app/uploaders/banner_image_uploader.rb b/app/uploaders/banner_image_uploader.rb index 2b3e6c2..1f4f57a 100644 --- a/app/uploaders/banner_image_uploader.rb +++ b/app/uploaders/banner_image_uploader.rb @@ -8,7 +8,7 @@ class BannerImageUploader < Shrine { banner: magick.resize_to_fill!(1600, 400), - thumbnail: magick.resize_to_fill!(360, 360, gravity: "south-west"), + thumbnail: magick.resize_to_fill!(520, 360, gravity: "south-west"), } end end diff --git a/app/views/search_locations/_location_search_section.html.erb b/app/views/search_locations/_location_search_section.html.erb index 5e23483..528f830 100644 --- a/app/views/search_locations/_location_search_section.html.erb +++ b/app/views/search_locations/_location_search_section.html.erb @@ -118,7 +118,7 @@ src="<%= helper_location_thumbnail(location: location) %>" class="search-result-img img-fluid rounded-start" alt="Photo of <%= location.name_utf8 %>" - width="360" + width="520" height="360" >