Support » Fixing WordPress » Image editor, doesn't show preview image

Viewing 10 replies - 1 through 10 (of 10 total)
  • So did you switch to the default theme? (it helped to a user in the topic you posted)
    Also, did you check functions.php?

    Yes I did change theme, and used default “Twenty Twelve” theme, and if I am using default theme and its not working means there is no point in checking functions.php.

    Also I am noticing issue with my image sizes list, as when I am inserting image into the post, its no longer showing me all sizes (default and custom) as a list in the media manager. Like bellow image shows

    Its only showing me full size, but no other sizes, according to solve this first I debugged code and found no trace of cause then I re-did all the site (re-created posts etc) and it was fine but today when I went to modify image sizes noticed this issue again.

    But when I review source I can see all the size listed there like:

    <# if ( 'undefined' !== typeof data.sizes ) { #>
    	<label class="setting">
    	<select class="size" name="size"
    	<# if ( data.userSettings ) { #>
    	<# } #>>
    	var size = data.sizes['thumbnail'];
    	if ( size ) { #>
    	<option value="thumbnail" >
    	Thumbnail &ndash; {{ size.width }} &times; {{ size.height }}
    	<# } #>
    	var size = data.sizes['medium'];
    	if ( size ) { #>
    		<option value="medium" >
    	Medium &ndash; {{ size.width }} &times; {{ size.height }}
    	<# } #>
    	and so on.......................
    		<# } #>

    Several hours ago I updated wordpress to 3.6, and activated twenty thirty theme and de-activated all the plugins and I still can’t make both work.

    1) Preview Image on cropping area (image editor)
    2) Showing all the image sizes on media manager “Insert Image” section.

    both mentioned above :(.



    Forum Moderator

    Site url?

    Sorry @esmi I can’t provide url here.

    But the problem is in backend (wp-admin -> dashboard) what good it will be to have url?

    I just did some debugging again and here is the data,

        "success": true,
        "data": [{
            "id": some-id,
            "title": "some-title",
            "filename": "some-title.png",
            "sizes": {
                "full": {
                    "url": "",
                    "height": 373,
                    "width": 1043,
                    "orientation": "landscape"
            "height": 373,
            "width": 1043,

    I am debugging more, but maybe you could help me how I can proceed further.

    Note: according to this response, its only fetching single size (full) so need to know why not all sizes.

    Note: I am also using “Simple Image Sizes” plugin, maybe it has screwed something, but I also tried deactivating and still same issue.

    Note: this is partial response data, I can’t show all the data here.

    I am also using “Simple Image Sizes” plugin

    Yes, you need to test this by turning off ALL plugins and switching to the default theme.

    @wpyogi I have done this

    Yes, you need to test this by turning off ALL plugins and switching to the default theme.

    with wordpress 3.5.2 and did it again with 3.6 no luck.

    I just finished another phase of debugging core, and so far this is my analysis.

    I have narrowed it down to


    function wp_prepare_attachment_for_js($attachment);

    foreach ($possible_sizes as $size => $label) {}

    if I dump this $possible_sizes it shows all my custom sizes, but

    if ($downsize = apply_filters(‘image_downsize’, false, $attachment->ID, $size)) {}

    this doesn’t seem to work????

    So anybody?????

    One more thing I am noticing,

    I have cloned live site to my local server (WAMP) and I added new image into media using POST EDIT screen “Add Media” button it showed me all the custom sizes after uploading.

    But when I do same procedure on live site it only showing me FULL size image 🙁

    Is there anything related to this functionality which requires PHP libraries or extensions installed which causing wordpress to not show custom sizes.?????

    Note: In local server its also showing preview image on crop & scale screen link:


    What is this????

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