M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Displaying thumbnails

hi,

I have a requirement to display images that are stored on a server in a list menu like the one below.

Image

So what would be the best place to store the images so that it will display faster on the mobile device? Do I use SIRV server or should I use appery database to store the images? When I used SIRV server and did a simple test it takes a few seconds to display just three images. Or should I need to keep 2 sets of images - 1. thumbnails and 2. Full size images? But that later will be troublesome. Please suggest

Thanks,
M&M

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Displaying thumbnails

I figured it out. Consider closed. Thanks

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Displaying thumbnails

Great! Could you please share solution?

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Displaying thumbnails

There are couple of ways

1) Pass parameters to SIRV so that it can reduce the image size on the fly. You can pass width, height, frame, border, rim etc as parameters and it will be done dynamically by SIRV server.

2) You can create profiles on SIRV server and call them easily with a simple URL like this: xxxxx.sirv.com/myimage.jpg?profile=myThumbnailProfileName (the xxxx depends on your SIRV server). The profile can contain all your pre-defined settings for thumbnails.

I am also thinking of locally doing some kind of caching. But I am only thinking of implementing this at a later stage.

Cheers,
M&M

Return to “Issues”