Discussions
Is there a way to shorten urls of filtered images ?
over 2 years ago by Grégoire Colson
Hi,
I use the imagemagick filters to edit images on the fly on my website.
The urls generated for these filtered images are very long, like in :
/steam/dynamic/W1siZmYiLCIvaG9tZS9ib2xvc3MvbG9jb21vdGl2ZS9wdWJsaWMvc2l0ZXMvNjA4MmFiZTI3NGZlNzIwNmFlMjE4N2I2L2Fzc2V0cy82MDgyYWM1MDc0ZmU3MjA2YWUyMTg3ZjQvV2ViXzE5MjBfLV8xLWltYWdlLTEucG5nIl0sWyJwIiwidGh1bWIiLCIyMDAwMDB4PiJdLFsicCIsImNvbnZlcnQiLCIrcHJvZmlsZSAnKicgLW1vZHVsYXRlIDEwMCwwIC1zaXplIDI1NngxISBncmFkaWVudDojRkYwMDJFLSNGRkY1OUIgLWNsdXQiXV0/a021273a9e4f1a38/Web_1920_-_1-image-1.png
My client would like to shorten it. Do you know a simple way to do that ? Or should I use a javascript library to achieve that ?
Thanks,
Grégoire