jermartin77 / plusgallery

A responsive javascript based image gallery driven by photos from a 3rd party source.
61 stars 35 forks source link

crash on iphone and ipad #8

Open aabhasgarg opened 11 years ago

aabhasgarg commented 11 years ago

Hello Jermartin,

I noticed I click one of too many images in one of albums so it crashes on iphone or ipad. Any ideas ?

Aabhas

jermartin77 commented 11 years ago

Yeah for now you have to keep it below 25-30 images.

mnakalay commented 11 years ago

it might have to do with the limit that mobile safari puts on resource loading. I think it's around 10Mo something like that. This article might be a good place to start. The solution it discusses was added to Zepto. http://www.fngtps.com/2010/mobile-safari-image-resource-limit-workaround/

aabhasgarg commented 11 years ago

Hello,

Thankyou very much for your sharing. Did you have done for that ? I am not sure how it works about adding some zepto code to facebook.html as follows:

`

` Thanks Aabhas
jermartin77 commented 11 years ago

Good call. It shouldn't hit that as they should be thumbnails, but who knows. My next step is to load it all incrementally, but that presents other issues.

Jeremiah

On Mar 29, 2013, at 3:44 AM, mnakalay notifications@github.com wrote:

it might have to do with the limit that mobile safari puts on resource loading. I think it's around 10Mo something like that. This article might be a good place to start. The solution it discusses was added to Zepto. http://www.fngtps.com/2010/mobile-safari-image-resource-limit-workaround/

— Reply to this email directly or view it on GitHubhttps://github.com/jermartin77/plusgallery/issues/8#issuecomment-15634305 .

jermartin77 commented 11 years ago

I have not used zepto but I will check it out in my free time.

Photospirit commented 9 years ago

Hi, has this issue been fixed in the meantime as I'm still facing crashes with iOS. I'm not a JS hero I have no clue how the workaround posted earlier might work.

Any help is highly appreciated.... Thanks, Chris