• Jmschmidt26

    (@jmschmidt26)


    Hi guys,

    I’m having some trouble with wordpress 3.4.2.

    When I try to use the Image Editor to crop or resize some images, the image preview doesn’t show at all. Googled for the problem and tried all the possible sollutions but all fails…

    What I did up until now:

    – Took off all the spaces in the functions/admin-ajax and etc etc etc
    – Reinstaled a brand new wordpress in another directory and replaced all the files within wp-admin and wp-includes
    – reinstaled the main instalation from the dashboard option
    – instaled a new copy of the blog, where the edit works, and replaced the files

    The code from Chrome’s inspector:

    <div id="imgedit-crop-30577" class="imgedit-crop-wrap">
    	<img id="image-preview-30577" onload="imageEdit.imgLoaded('30577')" src="/wp-admin/admin-ajax.php?action=imgedit-preview&_ajax_nonce=2933c95286&postid=30577&rand=23265">
    	</div>

    And here’s the code from the second blog I instaled:

    <div id="imgedit-crop-30643" class="imgedit-crop-wrap">
    	<img id="image-preview-30643" onload="imageEdit.imgLoaded('30643')" src="/v2/wp-admin/admin-ajax.php?action=imgedit-preview&_ajax_nonce=40b20af92d&postid=30643&rand=80245">
    	<div style="position: absolute; overflow: hidden; z-index: 2;"><div style="position: absolute; font-size: 0px;" class="imgareaselect-selection"></div><div style="position: absolute; font-size: 0px;" class="imgareaselect-border1"></div><div style="position: absolute; font-size: 0px;" class="imgareaselect-border2"></div><div style="position: absolute; font-size: 0px;" class="imgareaselect-border3"></div><div style="position: absolute; font-size: 0px;" class="imgareaselect-border4"></div><div class="imgareaselect-handle" style="position: absolute; font-size: 0px; z-index: 1; width: 5px; height: 5px;"></div><div class="imgareaselect-handle" style="position: absolute; font-size: 0px; z-index: 1; width: 5px; height: 5px;"></div><div class="imgareaselect-handle" style="position: absolute; font-size: 0px; z-index: 1; width: 5px; height: 5px;"></div><div class="imgareaselect-handle" style="position: absolute; font-size: 0px; z-index: 1; width: 5px; height: 5px;"></div><div class="imgareaselect-handle" style="position: absolute; font-size: 0px; z-index: 1; width: 5px; height: 5px;"></div><div class="imgareaselect-handle" style="position: absolute; font-size: 0px; z-index: 1; width: 5px; height: 5px;"></div><div class="imgareaselect-handle" style="position: absolute; font-size: 0px; z-index: 1; width: 5px; height: 5px;"></div><div class="imgareaselect-handle" style="position: absolute; font-size: 0px; z-index: 1; width: 5px; height: 5px;"></div></div><div style="position: absolute; overflow: hidden; z-index: 0;" class="imgareaselect-outer"></div><div style="position: absolute; overflow: hidden; z-index: 0;" class="imgareaselect-outer"></div><div style="position: absolute; overflow: hidden; z-index: 0;" class="imgareaselect-outer"></div><div style="position: absolute; overflow: hidden; z-index: 0;" class="imgareaselect-outer"></div></div>

    Anyone had this problem or knows how to fix it?

    I have about 5.000 posts in this installation, I cant loose all that…

    Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter Jmschmidt26

    (@jmschmidt26)

    So, after one more day trying things… and no success!

    I’m running out of ideas… If someone have any clues that may help me solve this, wold be appreciated.

    What’s bugging me more is that another installation, only in a new folder of the same server, work’s perfectly!!!!

    tobyy

    (@tobyy)

    I have the same issue. Just wanted to add that Firebug gives this error message, maybe someone can help us?

    Image corrupt or truncated: https://mywebsite/wp-admin/admin-ajax.php?action=imgedit-preview&_ajax_nonce=660c46b675&postid=4426&rand=24636

    Firefox only loads 1/3 of the image and then puts the error message.
    The problem appears in several browser and it seems to be on all my wordpress installations, even on different servers. I think it is a problem with on the fly image generating, but i dont know what to change anymore.

    I disabled all plugins and used standard themes twenty ten, twenty eleven, twenty twelve, newest WP Version… doesnt change anything.

    Thread Starter Jmschmidt26

    (@jmschmidt26)

    I’ve installed the new version of WordPress but the problem continues…

    I’m gonna go crazy…

    Someone help us!!!

    Any news about this issue? It bothers me too ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @bigbelly, if you need support, you can create your own thread.

    I am having this exact same problem. No matter what theme I use or plugins I deactivate, I cannot get the images to appear on the Edit Media screen. Is it possible a server setting?

    Don’t know, I run WP on IIS server. This is really annoying problem ??

    Thread Starter Jmschmidt26

    (@jmschmidt26)

    I think this is not a server side issue… cause i have 2 instances in the same server but one i have the problem, the other one don’t…

    Maybe something’s whrong with the DB… I trought the last update woud fix that, with all the changes in the media and all… but no changes at all…

    anyone got it fixed?

    In my case it was a php extension library problem. I needed to make sure that I added GD and FreeType libraries to PHP.

    Hi everyone, I have this same issue and this is driving me nuts, ’cause I have tried everything described in this forum and in other research I had done.

    The strange thing is that: the whole thing works fine on local server but on-line it shows only a broken image. I had re-installed the version (current is 3.6.1), looked for all the broken lines in function.php (both generical and the one at includes folder), looked up if the libraries GD and FreeType are ok… apparently is everything ok and works on my localhost but on-line don’t… please help me someone, I’m about to jump from the bridge…

    As per the Forum Welcome, please post your own topic.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Image editor don't show image preview’ is closed to new replies.