So, here’s the issue:
I’m working on a site that has a mod_rewrite setup for clean URLs, and a portion of the system that is dynamically generating thumbnails of larger images by way of the GD2 library. A sample thumbnail URL looks like “http://sampleurl.com/img/thumb/imgname”. What I want it to look like is “http://sampleurl.com/img/thumb/imgname.jpg/.gif/.png”. Otherwise i’ll have to do a bunch of header testing and stuff that I just don’t wanna have to do, or remove the extension of every image that’s used with the app, which i also don’t wanna have to do.
Does anybody have a solution or link(s) to reading material?
I’m pretty tired so I won’t be surprised if any of you need more info. Just let me know Thanks in advance!