Images are set to random scales
-
Hello, I have an image that is set to random scales because of the plugin (I tested without and everything is working fine). Sometimes, with the “custom html” my image is set to
weight:"1" height:"1"
. Even if I set in the html codeweight:"auto" height:"auto"
, it is setting other numbers (I don’t want the image to be rescaled). For example, my image is 120×270 and in the html of my entire page I findwidth="150" height="338"
. Here is my entire WordPress code for the hole page, because I will modify it (the image that becomes 150×338 is the second one). You can try it yourself because the image is not hosted on my website.<!-- wp:html --> <img src="https://crafatar.com/renders/body/877bdc0f-602c-4892-91c0-c4b0c8784b0a?overlay=true" alt="Bananasmoothii" width="auto" height="auto"> <!-- /wp:html --> <!-- wp:image {"sizeSlug":"large"} --> <figure class="wp-block-image size-large"><img src="https://crafatar.com/renders/body/877bdc0f-602c-4892-91c0-c4b0c8784b0a?overlay=true" alt="Bananasmoothii" width="120" height="270"/></figure> <!-- /wp:image --> <!-- wp:heading {"level":3} --> <h3>Bananasmoothii - Fondateur</h3> <!-- /wp:heading --> <!-- wp:media-text {"mediaId":462,"mediaLink":"https://crafatar.com/renders/body/877bdc0f-602c-4892-91c0-c4b0c8784b0a?overlay=true","linkDestination":"none","mediaType":"image","mediaWidth":18,"isStackedOnMobile":false,"imageFill":false,"focalPoint":{"x":"0.50","y":"0.50"}} --> <div class="wp-block-media-text alignwide" style="grid-template-columns:18% auto"><figure class="wp-block-media-text__media"><img src="https://crafatar.com/renders/body/877bdc0f-602c-4892-91c0-c4b0c8784b0a?overlay=true" alt="Bananasmoothii" class="wp-image-462"/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Contenu…","fontSize":"large"} --> <p class="has-large-font-size">AaBbCc</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>AaBbCc</p> <!-- /wp:paragraph --></div></div> <!-- /wp:media-text --> <!-- wp:paragraph --> <p></p> <!-- /wp:paragraph -->
The page I need help with: [log in to see the link]
- The topic ‘Images are set to random scales’ is closed to new replies.