[eluser]Muser[/eluser]
[quote author="louis w" date="1204702865"]Why don't you just do it all with mod_rewrite? Why are you going through CI to get to an image?[/quote]
Hi igniters!
How can I do this with mod_rewrite?
I have for example this url:
Code:
/media/imatge/2/gos-ben-parit.gif
and i want mod_rewrite do:
/imgs/2 is a gif file
"/imgs" is a folder with images without extension (width, height, name and mime are in a database), and I would like sef url's like:
Code:
/media/imatge/{photoid}/sometext.{extension}