[thelist] CSS Image Captions

David Bindel dbindel at austin.rr.com
Sun Feb 16 19:38:01 CST 2003


> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org] On Behalf Of Carl J Meyer
> Sent: Sunday, February 16, 2003 7:44 PM
> To: thelist at lists.evolt.org
> Subject: RE: [thelist] CSS Image Captions
>
> > Well image's source code (all that GIF/JPEG format stuff)
> is stored in
> > a database and retrieved dynamically when you call it through the
> > retrieval script.  My point is that I don't think GD or
> getimagesize()
> > will work with the image source in a database... I believe
> it has to
> > have an actual file to work on (for what it needs to do).
>
> That's right, getimagesize() needs a file.  But if you need
> to, it shouldn't be hard to pull the image out of the
> database into a temp file and do whatever you want with it.
>
> Not that that is necessarily a good idea (for reasons of
> security, performance, etc you may not want to introduce an
> extra database query or an extra temp file).  There may be
> better ways to do what you want. But it is possible.
>
> You can also use a URL with getimagesize - so you could call
> the CMS' retrieval script via HTTP and make it do the work for you.

OK, I guess it would work then.

Thanks,
David Bindel




More information about the thelist mailing list