Gossamer Forum
Home : Products : DBMan SQL : Discussion :

best way to display a db image in custom templates

Quote Reply
best way to display a db image in custom templates
Sorry if this is a dumb question...

I've got a table, and one of the fields is for uploading an image file. I notice in the default templates, the url used to display the image is:

http://www.example.com/path/to/db.cgi?cn=column_name&do=view_file&id=pk&db=table_name

Is that the best/only way to do that in a custom template? I know you can have image sources set to just about anything as long as it returns the proper information to the browser. But for some reason, I'm getting a lot of broken images with that kind of url. (Actually, even weirder, they appear correctly sometimes and broken other times, with no apparent rhyme or reason.) I'm not sure if this is some screw-up with the server, or whether there's a better url format I could be using?

As always, grateful for any suggestions. Thanks.

Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
Subject Author Views Date
Thread best way to display a db image in custom templates hennagaijin 5115 Jan 24, 2003, 2:56 PM
Thread Re: [hennagaijin] best way to display a db image in custom templates
604 4988 Jan 24, 2003, 3:11 PM
Thread Re: [TheStone] best way to display a db image in custom templates
hennagaijin 4989 Jan 25, 2003, 5:16 AM
Post Re: [hennagaijin] best way to display a db image in custom templates
hennagaijin 4934 Feb 4, 2003, 9:48 AM
Thread Re: [TheStone] best way to display a db image in custom templates
kevinws 4785 Oct 30, 2003, 10:46 AM
Post Re: [kevinws] best way to display a db image in custom templates
604 4794 Oct 30, 2003, 11:02 AM
Thread Re: [kevinws] best way to display a db image in custom templates
Luc1 4777 Oct 30, 2003, 11:07 AM
Post Re: [Luc1] best way to display a db image in custom templates
kevinws 4778 Oct 30, 2003, 11:41 AM
Thread Re: [Luc1] best way to display a db image in custom templates
kevinws 4762 Oct 30, 2003, 11:49 AM
Post Re: [kevinws] best way to display a db image in custom templates
604 4757 Oct 30, 2003, 4:36 PM