Img src path from wp-admin

Best to use a images folder in your child theme and output like this: $output = sprintf( ‘<img class=”your-class” src=”https://wordpress.stackexchange.com/questions/259497/%s” alt=”https://wordpress.stackexchange.com/questions/259497/%s” />’, get_stylesheet_directory_uri() .’/images/image.jpg’, get_the_title( $post->ID ) ); echo $output;

How can I server scaled images?

You can follow this step to set thumbnail woocommerce size Go to Appearance > Customize. Then go to WooCommerce > Product Images. Then go to WooCommerce > Product Images Write your desired width in “Thumbnail width” field. You can set the height of the images in “Thumbnail Cropping” Click on “Publish” let me know the … Read more