Not working correctly?
-
Hi there,
I have done everything as described in the video here
and added the code
// This enables the function that lets you set new image sizes
add_theme_support(
'post-thumbnails'
);
// These are the new image sizes we cooked up
add_image_size(
'post-image'
, 660 );
// Now we register the size so it appears as an option within the editor
add_filter(
'image_size_names_choose'
,
'my_custom_image_sizes'
);
function
my_custom_image_sizes(
$sizes
) {
return
array_merge
(
$sizes
,
array
(
'post-image'
=> __(
'Post Images'
),
) );
}
but all of my images still appear ad they did before. I have purged the cache many times but I am stumped.
Any help would be great.
Note: product 5558 was the one i tested before i just went all in and updated all images.
https://matthewm288.sg-host.com/saint-gerard-gifts/
Note current settings include
Settings > Media > Thumbnail size 150 x 150.
This is what I have included in the theme code too.
Also
Customize > WooCommerce > Product Images > Uncropped
I previously had this at 1:1 but took it off in case this was why I didn’t see any change in the
Plaster Statue 8 inch Saint Gerard (5558) image.The page I need help with: [log in to see the link]
- The topic ‘Not working correctly?’ is closed to new replies.