External WordPress Images size

WP Intense Q & ACategory: External ImagesExternal WordPress Images size
Roland Pijl asked 4 years ago


I had contact with you with Hullo.

I use External Images but at my shoppage the sizes of the images are different. I want the title, prices etc of the products under the image on the same line.

The image are different too of landscape or portrait. You tell me that you test it on my site and have the solution.Can you tell me how I can change it?

Thanks you very much!

Greetz Roland

1 Answers
Dave Hilditch Staff answered 4 years ago

Using external images means you don’t get ‘cropped images’ – not the normal WordPress way anyway (using timthumb.php).
But that doesn’t mean you can’t simulate the same thing and get all your images to be the same height. Normally, your WooCommerce theme would include CSS to handle this, but if it doesn’t and you have images which are varying in height, to return them all to the same height use CSS like this:
.woocommerce ul.products li.product a img {
width: auto;
height: 200px;
display: block;
margin-left: auto;
margin-right: auto;
If your theme doesn’t let you add CSS, install the Simple Custom CSS plugin and add the CSS there.


We publish performance optimisation guides regularly.

Subscribe so you never miss out.

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.