Uhh... why do you save the images in the database? They should be saved in the file system, outside of the webroot directory like in APP/ media for example. The database is not really a good place for them because they have to go trough the database connection which slows the whole process down.
The method for downloading them should make use of the cake core media view. You can also do access controll in this method if that was the reason why you've choosen a db to make them not availible in the file system. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
