Welcome Guest Search | Active Topics | Sign In | Register

how to load images from database to eo:ImageZoom Options
lliu
Posted: Wednesday, August 11, 2010 10:26:07 AM
Rank: Newbie
Groups: Member

Joined: 3/31/2008
Posts: 4
Hi,

I try to load images from database to eo:ImageZoom control. The images dataType is image. (sql server). I have lots of images stored in the database, Could you provide same sample code to use eo:ImageZoom control and datagrid control loading the images from database?

Thanks a lot for your help!
Li Liu
713-627-4327
eo_support
Posted: Wednesday, August 11, 2010 11:11:57 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The ImageZoom control works with an image Url. It does not care about how that image Url is rendered, that part would be up to you. You can store it inside a DB, store in a file, or even generate on the fly. None has anything to do with the ImageZoom control. Regardless where you have the image, unless the image is in a static file, you will need to write the code to serve the image. So if you have the code that servers the image in any page through a Url (for example, to display the image in a page), you would simply pass that Url to the ImageZoom control. ImageZoom doesn't know or care that your image is in the DB at all.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.