shopify analytics ecommerce

Adjusting image size

Yes, I know that from a purist viewpoint you're supposed to adjust the image size in a photo editing program before publishing the web page.

But today's computers are much faster.

Just insert this code in the img definition.

style="width: 45%; height: auto;

Be sure that the height is set to auto, this keeps the picture in proportion.

The width value can also be set to pixel width.

blog comments powered by Disqus