简体   繁体   English

存储base64图像堆栈javascript

[英]Storing base64 image stacks javascript

I have a client that receives large number of base64 images from a server, and I need to display them as slider image viewer. 我有一个从服务器接收大量base64图像的客户端,我需要将其显示为滑块图像查看器。 What's the best approach to do it? 最好的方法是什么? Each image size is around 30kb, and there are around 200 images. 每个图像大小约为30kb,大约有200张图像。 Thanks! 谢谢!

You can try to store either in localStorage or IndexedDB. 您可以尝试将其存储在localStorage或IndexedDB中。 These links can be helpful: 这些链接可能会有所帮助:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM