WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Image editor don't show image preview (12 posts)

  1. Jmschmidt26
    Member
    Posted 1 year ago #

    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.

  2. Jmschmidt26
    Member
    Posted 1 year ago #

    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!!!!

  3. tobyy
    Member
    Posted 1 year ago #

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

    Image corrupt or truncated: http://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.

  4. Jmschmidt26
    Member
    Posted 1 year ago #

    I've installed the new version of WordPress but the problem continues...

    I'm gonna go crazy...

    Someone help us!!!

  5. BigBelly
    Member
    Posted 1 year ago #

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

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  7. Burke Ingraffia
    Member
    Posted 1 year ago #

    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?

  8. BigBelly
    Member
    Posted 1 year ago #

    Don't know, I run WP on IIS server. This is really annoying problem :(

  9. Jmschmidt26
    Member
    Posted 1 year ago #

    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?

  10. Burke Ingraffia
    Member
    Posted 1 year ago #

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

  11. Seraphim2013
    Member
    Posted 10 months ago #

    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...

  12. esmi
    Forum Moderator
    Posted 10 months ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic