[ARCHIVE] Image Resized automatically in articles | Community
Skip to main content

[ARCHIVE] Image Resized automatically in articles

  • June 12, 2015
  • 3 replies
  • 0 views

Hello !

My images are automatically resized in my articles helpdesk when I publish them and I don't know why. 

For example, I use "img style="width: 400px;" in my HTML, and the image is resized in the WYSIWYG but when I publish the article, it is not resized as I want (see image below).

 

I have read the thread by Bassam Jalgha (  https://support.zendesk.com/hc/en-us/community/posts/202453163-Resizing-images-in-help-desk-articles ), I have tried to change the CSS and remove

.markdown img {

max-width: 100%;

}

as suggested by Andrew Dahl but it doesn't change.

Does anybody has an idea how to fix my problem ? 

Thank you very much for your answer, 

Angélique

This topic has been closed for replies.

3 replies

  • June 13, 2015

Hi Angélique,

It looks some where your image-width is enforced from css.

Just do a small change in your css

.markdown img {

max-width: 400px !important;

}

I hope that would work.

 

Cheers,

Diziana

 

 


Hello Diziana, 

It perfectly works !!

Thanks for your help :)

Angélique


Nicole17
  • November 14, 2019

This post closed for comment by the Zendesk Community Team. If you have a related or new question, please create a new post