Hey CakeGroup,

I want to route my Images in a specific schema. Can i use the
Route::connect function for this ?
And where should i put the logic for this? In the Controller, Model
oder View?

The schema:
/img/events/:date(Y_m_d)/:location_:gallery_:number_thumb.jpg

For example the dataset is this:
1172271600 mylocation mygallery 0001

then the result after routing would be
img/event/2007_02_24/mylocation_mygallery_0001.jpg
and for thumbnail
img/event/2007_02_24/mylocation_mygallery_0001_thumb.jpg

How would you realize this in cake conventions ?

Best Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to