sewpafly / post-thumbnail-editor

Wordpress Plugin to manually edit post thumbnails
http://wordpress.org/extend/plugins/post-thumbnail-editor/
32 stars 18 forks source link

Image cropping tool not showing on huge image sizes. (3000px * 4000px) #91

Closed elacasse closed 10 years ago

elacasse commented 10 years ago

Usually, I don't have any issues with the plugin, but one of our content editors uploaded a huge image file and can't edit it using the Post Thumbnail Editor plugin. I've added a screenshot of the bug as seen by our content editor.

Here's what I've noticed:

First the image loads more slowly than the script itself. I've seen a 3000 MS timeout, but even if I increase it, it doesn't change a thing. Since the script doesn't get the image properties, it changes the properties of the image to the following :

width: 0px; height: 0px; border: none; visibility: visible; margin: 0px; padding: 0px; position: absolute; top: 0px; left: 0px; display: inline;

It also set the div "jcrop-holder" the following properties.

width: 0px; height: 0px;

Could you help me with this?

bug

sewpafly commented 10 years ago

sounds like there should be a feature to use a post-thumbnail for the editor! I can put it on my roadmap. Also, you can look at the code in php/overwrite_imgedit_preview.php where it generates the crop image to see if you can find the cause of the slow down...

elacasse commented 10 years ago

Now that I know where to look for, I'll certainly have a look in the morning. I'll keep you posted!

MrDinsdale commented 10 years ago

Hey, any update on this or anyone found a good solution?

sewpafly commented 10 years ago

If anyone sees this issue, could they try the latest dev-master and then in Settings enable the checkbox to save the image to disk?