What about preloading 3-5 images each way and then  getting the next one
4-6th image each time user swipes to next image?

Vic Hudson



On Fri, May 7, 2010 at 12:53 PM, Maulik Modi <[email protected]> wrote:

> I guess, better solution would be to load 5 images in the previous
> direction and 5 images in the next direction. After user navigates all 5
> images, you might want to show progress bar and load images in the
> background.
>
> Thanks,
> Maulik.
>
>
> On Wed, May 5, 2010 at 4:07 PM, Remi Grumeau <[email protected]>wrote:
>
>> The loading time of each image is a real problem, but you will definitely
>> not solve it by surcharging the http requests number at the same time with
>> this background trick.
>> Haven't think about that much, but if you load the next image when the
>> previous one is loaded, you may have a nice cascading image loader tha add
>> the image to the div using DOM. That would be my first thought / try
>>
>> Remi Grumeau
>> (+33) 663 687 206
>> http://www.remi-grumeau.com
>>
>> Le 5 mai 2010 à 04:39, faustino forcen a écrit :
>>
>> > The problem I seem with the left and right swiping in a photoalbum is
>> > related to the preloading of the images to give users a smooth
>> > experience. I'm thinking (still not working on it) on a way to
>> > automate this preloading, but I guess that I'll need to resort to just
>> > add the prev and next images as background images to the preloader div
>> > and then, somehow, swapping the content of the three needed image divs
>> > with the image to show depending on the direction of the swipe. Just
>> > to avoid preloading all images on a gallery.
>> >
>> > Any thoughts on this, anyone?
>> >
>> > Faustino
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "iPhoneWebDev" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to
>> [email protected]<iphonewebdev%[email protected]>
>> .
>> > For more options, visit this group at
>> http://groups.google.com/group/iphonewebdev?hl=en.
>> >
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "iPhoneWebDev" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<iphonewebdev%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/iphonewebdev?hl=en.
>>
>>
>
>
> --
> Good judgement comes from experience, and experience comes from bad
> judgement.
> Simple things should be simple, complex things should be possible.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<iphonewebdev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/iphonewebdev?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to