Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

William Whitworth
William Whitworth
6,117 Points

iPad and iPhone crashes when I pinch zoom after loading 15+ images on a gallery page, any ideas?

I'm almost positive this is a memory issue.

When I go onto a page that only has 12 images, it works fine. My image sizes are roughly 20 - 40Kb and I'm trying to load 80 onto a gallery page.

I loaded up the demo of: http://roblaplaca.com/blog/2010/05/05/ipad-safari-image-limit-workaround/ on my iPad and it did the same thing.

Load the page, pinch, crash.

Does anyone have any ideas/suggestions on how I can fix this?

1 Answer

Marcus Tisäter
Marcus Tisäter
4,886 Points

try a different format for you're pictures maybe?