使用数据库图像的Jquery图像库 [英] Jquery Image Gallery Using Database Image

查看:84
本文介绍了使用数据库图像的Jquery图像库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我正在使用以varbinary类型存储在数据库中的图像开发图像库..

请提出您的建议.

谢谢

hello,
i am developing image gallery using images which are stored in database in varbinary type..

pls give your suggestions.

Thank you

推荐答案

我的建议是:

进行一项服务,该服务会将数组中的图像对象返回给javascript函数.该服务将从数据库中读取二进制数据并将其转换为图像,并将其发送给javascript调用程序.

然后,您可以使用javascript调用该服务,该服务将提供图像对象,然后可以创建图库.
My suggestion is:

Make a service which will return the image objects in the array to the javascript function. That service will read the binary data from database and convert it into images and send it to javascript caller.

From the javascript you can then call that service which will give the image objects and you can make your gallery then.


这篇关于使用数据库图像的Jquery图像库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆