chicago-tool-library / circulate

A lending library management system
Other
81 stars 66 forks source link

Remove need for image proxy #1150

Closed phinze closed 11 months ago

phinze commented 1 year ago

Back when we added image uploading, Rails didn't have a lot of options for generating image thumbnails. That's why we're using an image proxy in production (https://imagekit.io). It works well, but for the sake if having fewer third party dependencies and making it easier for multiple developers to recreate the production environment locally (and since our image uses are very simple), it would be nice to update how we handle item images:

phinze commented 12 months ago

Relevant resource on Rails-native image handling w/ variants: https://pragmaticstudio.com/tutorials/using-active-storage-in-rails