From b34f56ffb968bb8fd9abba50f892d60ed98d58a1 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 7 Mar 2012 19:09:27 +0000 Subject: [PATCH] Filter PLManagedAlbumLists when they appear in object set. --- PhotoExample.cydget/index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/PhotoExample.cydget/index.html b/PhotoExample.cydget/index.html index f85db22..4357eb3 100644 --- a/PhotoExample.cydget/index.html +++ b/PhotoExample.cydget/index.html @@ -178,8 +178,12 @@ return [[object fileGroup] pathForFullSizeImage]; else if (version == 1) return '/var/mobile/Media/' + [object directory].toString() + '/' + [object filename].toString(); - else if (version == 2) - return [object fileURLForLargeDisplayableImage]; + else if (version == 2) { + if ([object respondsToSelector:@selector(fileURLForLargeDisplayableImage)]) + return [object fileURLForLargeDisplayableImage]; + } + + return null; }; var jpeg = null, length = album.length; -- 2.45.2