In one of the .htaccess files, you'll find, which might cause trouble related
to your intention.

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>

please also check your other routes. the first match will be taken.

by the way. Why don't you create an image controller which can be actually
used to resize the images and put some watermark on them? you can combine
the advantage of dynamic images and implement some kind of caching. Take a
look in cake's MediaView for this!
-- 
View this message in context: 
http://old.nabble.com/How-to-Handle-images-w--a-Route-tp27494808p27511597.html
Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to