Home › Forums › WoodMart support forum › Split: Gallery thumbnail sizes
Split: Gallery thumbnail sizes
- This topic has 29 replies, 3 voices, and was last updated 10 months, 3 weeks ago by Artem Temos.
-
AuthorPosts
-
January 12, 2024 at 11:08 am #529229
AdixParticipantHi,
No, this is not this option, after I change this, funny things happen on website (check first photo, I set up this for 500 px). I want to have all miniatures cropped to same size like it was works before update. Now It looks like on picture one and two. I want to have second photo cropped to first photo size, whithout this white space. It works on previous version.
Attachments:
You must be logged in to view attached files.January 12, 2024 at 12:39 pm #529276
Artem TemosKeymasterHello,
Sorry, but we don’t quite understand what you mean. Maybe you can make some sketches to show how it worked on your website before the update?
Kind Regards
January 12, 2024 at 3:32 pm #529348
AdixParticipantHi,
Already send image in second topic. Here You have it.Attachments:
You must be logged in to view attached files.January 12, 2024 at 3:39 pm #529359
Artem TemosKeymasterPlease, send us your admin access so we can install our previous theme version and see how it looked before the update.
Kind Regards
January 12, 2024 at 3:42 pm #529361
AdixParticipantOkay here You have it
January 12, 2024 at 3:47 pm #529364
Artem TemosKeymasterHere is a screenshot of how it looks with a previous version of the theme https://gyazo.com/279676914aaeb2a867e1dfd976d62b1a
January 12, 2024 at 3:49 pm #529365
AdixParticipantSo it is looking wrong, before it looks like on image I send to You. I do not change anything it changed after update. How can I set it up?
January 12, 2024 at 3:50 pm #529367
Artem TemosKeymasterMaybe you had some cropping for your product images? Try to enable it in Appearance -> Customize -> WooCommerce -> Product images.
January 12, 2024 at 3:51 pm #529368
AdixParticipantDo You leave old version? I will try to regenerate thumbnails
January 12, 2024 at 3:59 pm #529371
Artem TemosKeymasterYes, you can switch between theme versions in Appearance -> Themes.
January 12, 2024 at 4:09 pm #529375
AdixParticipantAnyway why it works before and it is not working now? Can You please tell me how can I set it?
January 12, 2024 at 4:16 pm #529380
kunststofplatendepot.nlParticipantI have exactly the same question:
Anyway why it works before and it is not working now? Can You please tell me how can I set it?
January 12, 2024 at 4:26 pm #529382
Artem TemosKeymasterBut we don’t understand what exactly is changed. We installed the previous version of the theme and see that it looks almost the same. Did you try to crop your the images in WooCommerce settings? Note that our theme doesn’t influence the size of your product images, only on thumbnails gallery. But you can control this in Theme Settings.
January 12, 2024 at 4:27 pm #529383
AdixParticipantYes I tried it and nothing change, I don’t know why it looks like this before. Hard crop in settings should work but it didnt change size of miniatures.
January 12, 2024 at 4:28 pm #529384
Artem TemosKeymasterSo you have a problem with miniatures or with the main image gallery? Please, specify what images size for miniatures you want to set.
January 12, 2024 at 4:34 pm #529386
AdixParticipantI want to have all images in gallery have in same size, like first picture. I already send photo to You how it looks before and how I can set it
January 12, 2024 at 4:48 pm #529390
Artem TemosKeymasterOur theme doesn’t influence the size of product images in the gallery. It is controlled by WooCommerce. You can switch to the default theme and see that it works the same. The only way you can customize your image sizes is Appearance -> Customize -> WooCommerce -> Product images.
January 12, 2024 at 6:32 pm #529418
AdixParticipantBut I changed it and it is not working. It works before …
January 15, 2024 at 10:33 am #529748
Artem TemosKeymasterBut it works as before. We already installed the previous version of the theme on your website and you saw that nothing changed. Maybe you did some customizations in the theme files. Do you have a backup? You can restore it so we can see what is the difference.
January 15, 2024 at 5:44 pm #530028
AdixParticipantYou are still don’t listen what I am saying. I already set crop but it is don’t working. You tell me to use that function and it’s do nothing. I do that before update and it works fine. Just tell me how to set it up now.
January 15, 2024 at 5:50 pm #530036
Artem TemosKeymasterDo you mean that you set cropping in WooCommerce settings and it doesn’t work? In this case, please, switch to the default theme and check if the problem is caused by our theme or it doesn’t work with other themes as well.
Thank you in advance.
January 15, 2024 at 6:21 pm #530051
AdixParticipantIt’s still not working, but I found workaround, You can add to functions.php this kind of code:
add_filter( ‘woocommerce_get_image_size_single’, function( $size ) {
return array(
‘width’ => 600,
‘height’ => 900,
‘crop’ => 1,
);And it will crop to proportions You want, try this kunststofplatendepot.nl
January 16, 2024 at 12:43 pm #530269
kunststofplatendepot.nlParticipant@Adix thanks! @Xtemos; why can’t you solve the “problem” direct at its source?
January 16, 2024 at 1:48 pm #530322
Artem TemosKeymasterHello,
It looks like not a problem of the theme. This code is for the WooCommerce plugin. And if you switch to a default theme you will see the same. Note that we can’t reproduce this problem on our end.
Kind Regards
January 17, 2024 at 4:43 pm #530843
kunststofplatendepot.nlParticipant@Adix; I found a new setting in woodmart theme settings, where you go back to the settings that you had.. the only thing is that the product picture and thumbnails are taking 50% of your screen.. see scr.shot.
It works for me and I think it’s better to change things via theme settings than to do it manually via coding.. perhaps with a new update your lay-out will change again, etc..
Attachments:
You must be logged in to view attached files.January 18, 2024 at 11:38 am #531082
AdixParticipantThanks, I tested it but it is not working for me 🙁 I just leave code for now, maybe in future updates xtemos will add option I need.
January 20, 2024 at 7:12 pm #531857
AdixParticipantAfter last update this code is not working. What the hell? Why You broke this after my post?
January 22, 2024 at 10:42 am #532041
Artem TemosKeymasterHello,
Please, send us a screenshot of this code added to the functions.php file in the child theme.
Kind Regards
January 22, 2024 at 11:09 am #532051
AdixParticipantI send it before.
January 22, 2024 at 1:19 pm #532139
Artem TemosKeymasterNo, you didn’t send us such screenshots. Probably, something is wrong with your code. And make sure that it is added to the childtheme, not main theme.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register