You are here: Web Apps with Visual LANSA > 9. Displaying Images > 9 2 Storing Image in the Database as Blobs

9.2 Storing Image in the Database as Blobs

If you have images related to data stored in database tables a simple way to store the image is as a Blob. This simplifies the image management and can greatly improve the speed of download, depending on how you process the data.

As with all database requests, a request must be sent to the Server Module to retrieve the image, however it is stored, and any other data is passed back to the client as a Blob.

There are two ways you can download the image to the client:

9.2.2 Download a Blob

9.2.3 Download a Response Variable

There are also several ways to store or access an image. See 9.2.1 Different Ways to Store and Access an Image.