Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

There has a problem with the loading image #32

Closed
jiazi11 opened this issue Dec 19, 2014 · 6 comments
Closed

There has a problem with the loading image #32

jiazi11 opened this issue Dec 19, 2014 · 6 comments

Comments

@jiazi11
Copy link

jiazi11 commented Dec 19, 2014

when the sixth image is loading , I touch the first image to show fullscreen , then scroll to the sixth image , the sixth imageView is showing the first image before its finish loading. Could you help to fix this problem ?

@jiazi11
Copy link
Author

jiazi11 commented Dec 19, 2014

daf6c43e-3aca-4c77-9cf3-f1940171cdce
96f02482-9c6f-49b6-810f-6d5da413f260
1cefeb9b-21c0-49c3-9965-56b4fd38b6b1

@x2on
Copy link
Owner

x2on commented Dec 19, 2014

Please provide the code used to present the FSImageViewController.

Am Freitag, 19. Dezember 2014 schrieb jiazi11 :

when the sixth image is loading , I touch the first image to show
fullscreen , then scroll to the sixth image , the sixth imageView is
showing the first image before its finish loading. Could you help to fix
this problem ?


Reply to this email directly or view it on GitHub
#32.

@jiazi11
Copy link
Author

jiazi11 commented Dec 19, 2014

There is the code to present the FSImageViewController.

FSBasicImageSource *photoSource = [[FSBasicImageSource alloc] initWithImages:basicImageArray];
FSImageViewerViewController *fsImageCtrl = [[FSImageViewerViewController alloc] initWithImageSource:photoSource imageIndex:index];
fsImageCtrl.delegate = self;
fsImageCtrl.rightBarButtonType = RightBarButtonTypeDelete;
[self.navigationController pushViewController:fsImageCtrl animated:YES];

think you !

@x2on
Copy link
Owner

x2on commented Dec 20, 2014

Hi, i could not see the root cause for this, what is in basicImageArray?

@jiazi11
Copy link
Author

jiazi11 commented Dec 21, 2014

Hi, basicImageArray is an array with FSBasicImage Object, this problem appare when the network is not good.you can set do not cache images at FSImageLoader.m, it may help to reproduce this problem.

FSBasicImage *basicImage = [[FSBasicImage alloc] initWithImageURL:[NSURL URLWithString:[dic objectForKey:@"photourl"]] name:name];
[basicImageArray addObject:basicImage];

@x2on
Copy link
Owner

x2on commented Feb 22, 2015

I tested a lot of scenarios, nut i could not reproduce the issue.
If you could provide a sample app with the problem, please feel free to reopen the issue.

@x2on x2on closed this as completed Feb 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants