Displaying 1 result from an estimated 1 matches for "ab1a436y1b".
2006 Jul 05
0
Dynamic image resizing and caching
...to
more configuration. Maybe a constraint for production mode, while
allowing any image size in development?
* I could make a random hash token and put it in a table along with
image id, image size, filters etc, and use this in the request:
/images/blog-thumbnails/21/150x100/filename.jpg?token=ab1a436y1b
or /images/blog-thumbnails/21/150x100/ab1a436y1b/filename.jpg
or /images/blog-thumbnails/21/150x100/ab1a436y1b.jpg
Drawbacks: rails would have to generate the URL for me every time i need
a new image variation. And it destroys the pretty and user-friendly URLs.
* I could detect the attack someho...