--- Michael Kruckenberg <[EMAIL PROTECTED]> wrote: > > Having images in the database also makes scaling > pretty simple in that > we can add replicated slave machines for reading > images.
I'm not yet familiar with scaling and "replicated slave machines," but I'm beginning to see more uses for storing image LINKS in MySQL. Suppose I have a field that stores links that look like this: <img src="<?php echo "$seg" ?>images/states/ak.gif" width="100" height="75" /> <img src="<?php echo "$seg" ?>images/states/wy.gif" width="100" height="75" /> and another field that stores image links that look like this: <img src="<?php echo "$seg" ?>images/maps/ak.gif" width="100" height="75" /> <img src="<?php echo "$seg" ?>images/maps/wy.gif" width="100" height="75" /> then all I have to do is replace $seg with the path to the image folder to display my images. The images don't even have to be the same size, since I have to enter each state's image individually, anyway. I guess that's pretty simplistic, but it's something I hadn't thought of before. I was thinking of databases in terms of text only. Actually, it would be more convenient if I could enter image links without the width and height values. I suppose that would work if I used them as background images. And I could even create a field that anticipates a future series of images in an as yet unspecified folder: <img src="<?php echo "$seg" ?>images/<?php echo "$WHAT" ?>/ak.gif" width="100" height="75" /> If I then create a series of images in a folder named landscapes - or nature/landscapes - then I would use PHP to replace WHAT with nature/landspaces. __________________________________ Do you Yahoo!? Yahoo! Domains – Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]