COS-General

Can I disable automatic image resizing?

Last updated: December 13, 2016

Available For:

Product: HubSpot Marketing
Subscription: Basic, Professional, & Enterprise

It is possible to disable automatic image resizing on an image by image basis. This can be done by adding the query parameter ?noresize into the HTML code of the image on the page. For example, the below referenced image will be resized on the page because there are set HTML height and width attributes:

<img src="http://cdn2.hubspot.net/hub/211045/file-377800313-jpg/IMG_4134.jpg" height="500px" width="600px">

In order to disable automatic image resizing simply add the ?noresize parameter to the image url:

<img src="http://cdn2.hubspot.net/hub/211045/file-377800313-jpg/IMG_4134.jpg?noresize" height="500px" width="600px">

For more information on automatic image resizing, check out this article.