@Zaky > It's not a good idea to change the images size in the html. > Change the image to the desired size when uploading. > Media plugin can assist you with this issue.
I used to subscribe to the 'crop/resize before adding into the database/uploading' principle but then I often fell foul of the client changing what size they wanted their images to be shown at. How do you then go back through all uploaded images and change them? I am now using the excellent SLIR2.0 http://code.google.com/p/smart-lencioni-image-resizer/ With this handy little script I upload the image once at full size and within my <img> tag src I can pass in what dimensions and crop options I want to apply. The image returned is cached so when next requested it does not use unneccessary resources. BRILLIANT! HTH, Paul @phpMagpie -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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