Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions FGallery/Classes/FGalleryPhoto.m
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ - (void)loadFullsizeInThread
path = _fullsizeUrl;
}
else {
path = [NSString stringWithFormat:@"%@/%@", [[NSBundle mainBundle] bundlePath], _fullsizeUrl];
path = [[NSBundle mainBundle] pathForResource:_fullsizeUrl ofType:nil];
}

_fullsize = [[UIImage imageWithContentsOfFile:path] retain];
Expand All @@ -155,7 +155,7 @@ - (void)loadThumbnailInThread
path = _thumbUrl;
}
else {
path = [NSString stringWithFormat:@"%@/%@", [[NSBundle mainBundle] bundlePath], _thumbUrl];
path = [[NSBundle mainBundle] pathForResource:_thumbUrl ofType:nil];
}

_thumbnail = [[UIImage imageWithContentsOfFile:path] retain];
Expand Down