I have an ASP.Net application that needs to display an image that is stored in a Filemaker Container field. My query statement looks like:
SELECT GetAs(Image, JPG ) FROM UA_Item_Pictures WHERE "Stock Number" = 33989 AND ImageOrder = 1
According to the documentation: The possible file types (case sensitive) you can retrieve from a container field in a FileMaker database file are:
EMBO OLE container data
PDF Portable Document Format
EMF+ Windows Enhanced Metafile Plus
PICT Mac OS (does not have 512-byte file-based header)
EPS Embedded PostScript
PNGf Bitmap image format
FILE Result of an Insert File command
PNTG MacPaint
FPix Flash (FPX)
qtif QuickTime image file
FORK Resource fork (Mac OS)
.SGI Generic bitmap format
GIFf Graphics Interchange Format
snd Standard sound (Mac OS raw format)
JPEG Photographic images
TIFF Raster file format for digital images
JP2 JPEG 2000
TPIC Targa
META Windows Metafile (enhanced)
XMLO Layout objects
METO Windows Metafile (original)
8BPS PhotoShop (PSD)
moov Old QuickTime format (Mac OS)
So with this information, my questions are:
- How do I retrieve contents with multiple formats?
- How do I render the BLOG into an image on the page?
Any suggestions would be much appreciated!