WordPress-Editor-iOS icon indicating copy to clipboard operation
WordPress-Editor-iOS copied to clipboard

crash when adding around 20 pictures

Open mick20 opened this issue 9 years ago • 6 comments

it seems that the memory is not enough when adding more pictures on iphone6. Is there any solution for editing plenty of pictures in this editor? for example, the way that the TableView reuse the cell?

mick20 avatar Apr 18 '16 07:04 mick20

Did you run to this problem using the sample app? Or using the WordPress app?

SergioEstevao avatar Apr 18 '16 11:04 SergioEstevao

Thanks for your reply. I run the sample app on my iphone6. When I added around 20 pictures, the app become very slow and I cannot do anything on that. It shows that the app occupied around 100mb memory... Is there any reusable solution as it said in the brief?

mick20 avatar Apr 18 '16 15:04 mick20

The editor uses a webview so there isn't any feasible way to use reusable views. One thing that could help is to use lower resolution images when adding them to the webview, at the moment the sample app uses the full resolution but that could be changed to user lower resolution images.

SergioEstevao avatar Apr 21 '16 13:04 SergioEstevao

How to change lower resolution images?

IsVivian avatar Jul 16 '16 06:07 IsVivian

@IsVivian are using the editor in a standalone app, or using it inside the main WordPress app?

If you are using it on the main WordPress app you can go to the Me section -> App Settings -> Image Size and reduce the size of the images that are used/upload in the app.

SergioEstevao avatar Jul 18 '16 14:07 SergioEstevao

I have upload the image, but the image will disappear sometimes when I use "[self.editorView insertLocalImage:self.serviceImgURL uniqueId:self.imageID];" I don't know how to solve it.

IsVivian avatar Aug 02 '16 05:08 IsVivian