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 7549 Jan 24, 2003, 2:56 PM
Thread Re: [hennagaijin] best way to display a db image in custom templates
604 7387 Jan 24, 2003, 3:11 PM
Thread Re: [TheStone] best way to display a db image in custom templates
hennagaijin 7397 Jan 25, 2003, 5:16 AM
Post Re: [hennagaijin] best way to display a db image in custom templates
hennagaijin 7330 Feb 4, 2003, 9:48 AM
Thread Re: [TheStone] best way to display a db image in custom templates
kevinws 7168 Oct 30, 2003, 10:46 AM
Post Re: [kevinws] best way to display a db image in custom templates
604 7189 Oct 30, 2003, 11:02 AM
Thread Re: [kevinws] best way to display a db image in custom templates
Luc1 7171 Oct 30, 2003, 11:07 AM
Post Re: [Luc1] best way to display a db image in custom templates
kevinws 7167 Oct 30, 2003, 11:41 AM
Thread Re: [Luc1] best way to display a db image in custom templates
kevinws 7150 Oct 30, 2003, 11:49 AM
Post Re: [kevinws] best way to display a db image in custom templates
604 7167 Oct 30, 2003, 4:36 PM