Can the following problem also be solved with storing in in a table?
A group of image width and height's values
- 125 X 200
- 400 X 600
- 1024 X 768
When the image upload scripts get's an image uploaded, it checks al these values and makes resized images for each of the values.
So if their are only 2 widht+height values, only 2 images get generated.
But when the admin ads additional values more images get generated.
I would assume then that i also would have to make another table, and link this with a $hasMany ?
But for each change in these settings I would have to alter the database.
Isn't their another (easier) possibility?
Maybe one that uses an xml file to store everything?
--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment