When I upload the image via API, the image is distorted. How can I solve it? I saw in some topic to use “?noresize”, but I don’t know how use that, when I try used not works…
When click to edit :

Hi,
Images uploaded to the filemanager, manually or trough the API, are automaticly compressed by HubSpot. When inserting an image within a module, you can choose to set the quality you like. If you load it directly from an URL (like you seem to do now), there is in my knowledge no way to improve the quality besides rendering the full image and upload an image good quality.
What do you recommend I do?
Hi @Minah,
It looks like i read your question the wrong way. I thought you had questions about the quality, but it looks like it indeed is about the distortion.
The distortion happends when you strecht an image in a way that is no longer it’s default width X height.
From my point of view, you have set an width of 500px to the email and 300px hight. The image itself is 768px width and 1360px height.
HubSpot injects some inline stylesheet in certain situtations that gives the image an max-width of 100% (in this case, 300px), but it remains 768px height. Thats why it’s stretcht out in height.
My best guess is to do one of the following:
This is my best guess!
Hi,
if you do not include the inline styling trough hubspot, you can overrule this by setting some extra css:
.timeline-item-engaements img {max-width: initial !important}
- It is NOT recommanded to use !important statements within css, but sometimes, if you can’t reach the source, you have to ![]()
This css .timeline-item-engaements belongs Hubspot.. I can edit it? How I can do that?