Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?