Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #32869
    Profile photo of kirill.m.mail
    Kirill
    Participant

    Hello.

    Is that possible to find older version of Symbiostock Pro plugin to revert back to a previous version?

    Regards,
    Kirill M.

    #32879
    Profile photo of Robin
    Robin
    Keymaster

    Hey there – there are no older versions available unfortunately. Can you explain what you need an older version for?

    #32891
    Profile photo of kirill.m.mail
    Kirill
    Participant

    Hello.

    After last woocommerce update, to 3.4.4, all product images, single product image and product thumbnail was automatically regenerated to approximately 100x100px instead of 1200x800px and 600×400 and now looks simply awful. I was trying to regenerate it several times with all plugins on, all plugins off, different php versions, with imagick and GD library, increasing/decreasing memory limits and many other changes, also was trying to regenerate it with “Regenerate Thumbnails” and “Force Regenerate Thumbnails” plugins, few times I’ve change products thumbnails sizes (1200x800px to 1100×700 for example) and then regenerate it again, just to try. All this manipulation was tested with Avada and good old Twenty Seventeen themes. All newly imported products are also 100x100px.

    Fortunately I’ve found Symbiostock 4.0.0 version and revert to it. Now everything looks perfect as before and I’m planning to stay with it until I will find solution to fix this problem.

    Regards.

    #32892
    Profile photo of Chrisroll
    Chrisroll
    Participant

    Hi, Kiril,
    I got this problem too
    This problem is indeed related to Woocommerce 3.3+ and usually occurs when you switch theme.

    This solution worked for me :
    Go to apparence/ customize/ Woocommerce/ Product images and verify values/ options.

    Then, add these lines to your child theme function.php (define your own values for width/ height/ crop (0 or 1) ) :

    /*
    * Fixwoocommerce 3.3+ image size problem
    *
    */
    add_action( ‘init’, ‘yourtheme_woocommerce_image_dimensions’, 1 );

    /**
    * Define image sizes
    */

    function yourtheme_woocommerce_image_dimensions() {
    $catalog = array(
    ‘width’ => ‘500’, // px
    ‘height’ => ‘500’, // px
    ‘crop’ => 1 // true
    );

    $single = array(
    ‘width’ => ‘800’, // px
    ‘height’ => ‘800’, // px
    ‘crop’ => 1 // true
    );

    $thumbnail = array(
    ‘width’ => ‘120’, // px
    ‘height’ => ‘120’, // px
    ‘crop’ => 1 // true
    );

    // Image sizes
    update_option( ‘shop_catalog_image_size’, $catalog ); // Product category thumbs
    update_option( ‘shop_single_image_size’, $single ); // Single product image
    update_option( ‘shop_thumbnail_image_size’, $thumbnail ); // Image gallery thumbs

    Another solution would be to update symbiostock to 5.0 and Woocommerce to 3.2.6 (Robin, is symbiostock 5.0 fully compatible with Woocommerce to 3.2.6?).

    Hope it can help…

    Chris

    #32893
    Profile photo of Chrisroll
    Chrisroll
    Participant

    Sorry, I just forgot } at the end of code 🙂

    /*
    * Fixwoocommerce 3.3+ image size problem
    *
    */
    add_action( ‘init’, ‘yourtheme_woocommerce_image_dimensions’, 1 );

    /**
    * Define image sizes
    */

    function yourtheme_woocommerce_image_dimensions() {
    $catalog = array(
    ‘width’ => ‘500’, // px
    ‘height’ => ‘500’, // px
    ‘crop’ => 1 // true
    );

    $single = array(
    ‘width’ => ‘800’, // px
    ‘height’ => ‘800’, // px
    ‘crop’ => 1 // true
    );

    $thumbnail = array(
    ‘width’ => ‘120’, // px
    ‘height’ => ‘120’, // px
    ‘crop’ => 1 // false
    );

    // Image sizes
    update_option( ‘shop_catalog_image_size’, $catalog ); // Product category thumbs
    update_option( ‘shop_single_image_size’, $single ); // Single product image
    update_option( ‘shop_thumbnail_image_size’, $thumbnail ); // Image gallery thumbs
    }

    #32897
    Profile photo of Robin
    Robin
    Keymaster

    Hi Kirill,

    That seems very strange – it is not Symbiostock that sets this size but WooCommerce, which means WooCommerce must have changed something. I have not been able to reproduce this problem – the only thing I see different is that WooCommerce has moved the image size settings from their settings area to the customizer – have you tried updating it there?

    Once you do that, try to update your watermark size by one percent as that triggers Symbiostock to reprocess all images. Although if you have a working solution that is fine. I have not encountered this issue before – Symbiostock does not set the thumbnail sizes at all. It relies completely on the media_handle_sideload function to create thumbnails which is a built in WordPress function.

    #32933
    Profile photo of kirill.m.mail
    Kirill
    Participant

    Hi all.
    Chrisroll, thanks for that, at the moment I’m moving to a new host so I’ll try it a bit later.
    Robin, yes, I was trying it via customizer. Before posting here, I was trying to reprocess all images by changing watermark settings – no results, unfortunately.

    Thanks to all,
    Regards.

    #32935
    Profile photo of Chrisroll
    Chrisroll
    Participant

    Hi Kirill,

    after some additional tests with AVADA, (I use this theme too), here is a simplified version of the code that does not need anymore to switch theme for the changes to be taken into account ( place this code at the end of your AVADA child theme function.php ) :

    /* Fix image size WOOCOMMERCE */
    $catalog = array(
    ‘width’ => ‘500’, // px
    ‘height’ => ‘500’, // px
    ‘crop’ => 1 // true
    );
    $single = array(
    ‘width’ => ‘800’, // px
    ‘height’ => ‘800’, // px
    ‘crop’ => 1 // true
    );
    $thumbnail = array(
    ‘width’ => ‘120’, // px
    ‘height’ => ‘120’, // px
    ‘crop’ => 1 // true
    );
    // Image sizes
    update_option( ‘shop_catalog_image_size’, $catalog ); // Product category thumbs
    update_option( ‘shop_single_image_size’, $single ); // Single product image
    update_option( ‘shop_thumbnail_image_size’, $thumbnail ); // Image gallery thumbs

    #32985
    Profile photo of kirill.m.mail
    Kirill
    Participant

    Than you!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.