开发者

Image Gallery performance best practice

开发者 https://www.devze.com 2023-03-20 21:59 出处:网络
I was thinking about starting a gallery app with the ability to search/filter images based on tags.My question:

I was thinking about starting a gallery app with the ability to search/filter images based on tags. My question:

I want to update the images often so... should I host the images on a webserver and host a XML file the app can call with image paths thumbnail path and tags name. That way I can load the thumbs to save bandwidth until they click and then load the main image.

XML Below:

   <image>
      <title>My Family</title>
      <tags>family,vacation,grandpa</tags>
      <thumb>myimage_thm.开发者_运维百科jpg</thumb>
      <full_path>myimage.jpg</full_path>
    </image>

And then use the built in android gallery?

Does this sound like the most efficient way start my project? Any thoughts would be much appreciated.

0

精彩评论

暂无评论...
验证码 换一张
取 消