Forum Replies Created
-
AuthorPosts
-
above sample link has been edited to the correct link.
correct link is:
- This reply was modified 10 years, 2 months ago by rickster_192.
Here are my woo image settings
Catalog Images 134×300 px (no) Hard Crop?
Single Product Image 90×150 px (no) Hard Crop?
Product Thumbnails 54×90 px (no) Hard Crop?- This reply was modified 10 years, 2 months ago by rickster_192.
That made the thumbnail images smaller but they are still not a sharp as original images or the shadow box blow-ups..
Thanks… will try that and let you know…
This reply has been marked as private.This reply has been marked as private.Hi Josue,
Thanks for the investigative work on my image problem.
I have found the fix and thought it would be helpful to give to you in the event others are experiencing the same issue.
After applying the fix you will need to re-gen thumbnail images, delete gallery, then re-add gallery.
Below is the fix & an brief explanation of problem from my hosting provider.
The code has been added to the functions.php*** (code below) and we have uploaded successfully. Unfortunately, this is not a simple flip a switch type of fix. The problem is caused by WordPress updating to look specifically for Imagick libraries without being backward compatible. The issue with this is that currently the version of imagick that cpanel is set to build into PHP is not the latest release, and that is where the problem comes in. The only resolution we have found currently is to add this code or create a plugin with the information below.
The quick solution that I have found at this time is to install a plugin which changes this function to use GD libraries.
To install the plugin, create a folder called “default-to-gd” in /wp-content/plugins/ and create a php file named “default-to-gd.php”, next add the following code:
<?php
/*
Plugin Name: Default to GD
Plugin URI: http://wordpress.org/extend/plugins/default-to-gd
Description: Sets GD as default WP_Image_Editor class.
Author: Mike Schroder
Version: 1.0
Author URI: http://www.getsource.net/
*/function ms_image_editor_default_to_gd( $editors ) {
$gd_editor = ‘WP_Image_Editor_GD’;
$editors = array_diff( $editors, array( $gd_editor ) ); array_unshift( $editors, $gd_editor );
return $editors;
}********************************************************************************
Code added to the functions.php
The code that we added to the end of function.php is below:add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ ); function change_graphic_lib($array) { return array( ‘WP_Image_Editor_GD’, ‘WP_Image_Editor_Imagick’ ); }
The above fixes worked like a charm…. you might consider adding the to the next upgrade.
Best Regards
Rick SchererThis reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Yes.. this issue existed on a fresh WP install with no plugins activated.
Thanks for the suggestion… -
AuthorPosts