Your account expired support, please renew to get your support.

Home Forums Themes Support Gecko Single Product Gallery resizing

Topic Resolution: Resolved
Viewing 5 reply threads
  • Author
    Posts
    • #31689
      Fred
      Support Expired

      Hello,

      Do you know how to resize the gallery ? I wanted to have it smaller in order to have less space for page displaying.

      By the way I regenerate thumbnails to have better quality (and also changed in settings) but variation gallery still horrible and pixelised (I empty cache of my browser). Do you have any solution?

      That’s the only thing I have to correct, all the template is really cool by the way.

      Best Regards

      Attachments:
      You must be logged in to view attached files.
    • #31692
      Harry
      Support Expired

      Hi,

      Please add below code to gecko-child > functions.php

      add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
      return array(
      	'width' => 300,
      	'height' => 300,
      	'crop' => 0,
      	);
      });

      fter making changes to image sizes you may need to regenerate your thumbnails so the new sizes are used for existing images.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31695
      Fred
      Support Expired

      Thanks Harry,

      But it’s not ok for the variation gallery
      When choosing a variation thumbnails still pixelised for the gallery
      in attachement I provide you a picture when not variation selected and then when selected

      That’s realy my unique problem. And I must be online realy soon.

      Thanks a lot

      Best regards

      Attachments:
      You must be logged in to view attached files.
    • #31698
      Harry
      Support Expired

      Hi Fred,

      Did you add the code i suggest.
      I check on my test site it work well with image of variation gallery.

      Please add code to gecko-child > functions.php and activate child theme

      add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
      return array(
          'width' => 300,
          'height' => 300,
          'crop' => 1,
          );
      });

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31700
      Fred
      Support Expired

      sorry it was my fault, I’ve done the modifications on the child theme but didn’t activate it.

      I’m realy sorry for the lost of time !

      Thanks a lot for you help, you theme rocks !

       

    • #31701
      Harry
      Support Expired

      You’re welcome.

      Have a great weekend!

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 5 reply threads

You must be logged in to reply to this topic.