- I hated adding the my_style attribute
- Dimension calculation was flaky and often produced ghost failures
Better Image Dimensions With Paperclip
A while ago I had the need to add image dimensions (height & width) to my paperclip attachments. After a lot of research I came across this:
https://gist.github.com/343678
It did the job OK, but had a few problems: