• I’ve just installed this plugin (0.8.0) on a WP 3.6 install. When I click to add an image for a custom taxonomy in the admin, the Media Library opens (in a smaller window than usual) but shows no image. The windows isn’t blank, it says that there are images but doesn’t display them. The only way I have to add an image to a taxonomy is to reupload it and not forget to click on the “associate” button (or I have to start again).

    http://wordpress.org/plugins/taxonomy-images/

Viewing 3 replies - 1 through 3 (of 3 total)
  • +1

    I´m having the same problem.

    This is such a useful plugin, and it is still useable. But as others have said, it requires uploading images again as the media library shows empty.

    Could someone please find a fix for this.

    Don’t know if this is a fix for anybody here..

    I have WP 3.7.1, I was getting errors when selecting images.

    I had debug mode on, found out that it used a function (image_resize) that was deprecated.. Images couldn’t be cropped..

    In the plugin folder, file ‘taxonomy-images.php’ around line 175 has:

    /* Attempt to create a new downsized version of the original image. */
    $new = image_resize( $path,
    	$detail['size'][0],
    	$detail['size'][1],
    	$detail['size'][2]
    );

    I just replaced with:

    # file name & path (without filename)
    $filename  = basename( $path );
    $folderurl = str_replace( $filename, "", $path );
    
    # strip extension from filename, save seperatly
    $filename = explode( ".", $filename );
    $extension = $filename[ count( $filename ) - 1 ];
    unset( $filename[ count( $filename ) - 1 ] );
    $filename = implode( ".", $filename );
    
    # use new WP function
    $new = wp_get_image_editor( $path );
    if ( ! is_wp_error( $new ) ) {
    	$new->resize(
    		$detail['size'][0],
    		$detail['size'][1],
    		$detail['size'][2]
    	);
    	$new->save( $filename ."75x75.". $extension );
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Media Library appears empty (WP 3.6)’ is closed to new replies.