[thelist] Extracting pictures from a database

Jay Blanchard jay.blanchard at niicommunications.com
Fri May 31 08:43:01 CDT 2002


[snip]
If I've got this (img tags don't really need the width and height attributes
to work, automatic) <img
src=""> thing in a database cell...
[/snip]

However, this prevents the page from validating. Also height and width
attributes in the tag "tell" the browser to set aside exactly that much
real-estate for the image. Doing it on the fly uses more memory resources
and may cause the page to take longer to download. Not to mention that it is
just bad form.

You can have your upload scripting capture and assemble the proper
information and attributes if you choose to go the URL-in-the-database
route.

Jay






More information about the thelist mailing list