Closed antontre1 closed 1 year ago
situation: Picture was not able to be correctly displayed in a record referring to an active storage picture
error identified: incorrect link given to show the picture in the view
fix provided: replace thumb_url in image_html = v.image_tag(thumb_url, class: 'img-thumbnail') by resource_url
thumb_url
image_html = v.image_tag(thumb_url, class: 'img-thumbnail')
resource_url
Coverage: 95.911% (+0.02%) from 95.887% when pulling 08ee3f40c4563ab2e3201060bfc52e23a02f14e0 on antontre1:fix-activerecord-image-path into 2ee43deb1fa8d3a9e3ea0e589c1687d684e19ad6 on railsadminteam:master.
What this does is just breaking the functionality of thumbnail feature. Please create an issue first, then we can talk about the solutions.
situation: Picture was not able to be correctly displayed in a record referring to an active storage picture
error identified: incorrect link given to show the picture in the view
fix provided: replace
thumb_url
inimage_html = v.image_tag(thumb_url, class: 'img-thumbnail')
byresource_url