Home Forums Newsletter Plugin Support RESPONSIVE DRAG & DROP COMPOSER – Image size bug

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25257
    Karen Owens
    Participant

    When using the RD&D Composer, Hero or Image building blocks and changing the image the insterted image is getting out of proportion.

    Example:

    This is the HTML from the as-is template as soon as you create a newsletter based upon the D&D Composer

    <img src="https://unsplash.it/500/300?image=885" alt="Insert alt text here" style="max-width: 100%!important; width: 500px!important; height: auto!important; display: block; color: #666666; font-family: Helvetica, arial, sans-serif; font-size: 16px;" class="img-max" border="0" width="500">

    So, I guees the source image (https://unsplash.it/500/300?image=885) is 500px – indeed it is – 500 × 300 pixels.

    Next, I change to an image I want to use that is 197 × 256px and look at the HTML I see this –

    <img src="http://path/wp-content/uploads/Image.png" alt="Insert alt text here" style="max-width: 100%!important; width: 500px!important; height: auto!important; display: block; color: #666666; font-family: Helvetica, arial, sans-serif; font-size: 16px;" class="img-max" border="0" width="500">

    Surely a bug as it’s keeping the 500px width attribute.

    #25262
    Stefano
    Keymaster

    That is wanted. The image should be not less than 500px wide for hero blocks.

    Stefano.

    #25269
    Karen Owens
    Participant

    Hi Stefano,

    And the Image blocks expect an 800px wide image, correct?

    #28904
    min
    Participant

    I have a problem with the aspect ratio, which are derived from records of miniatures. I have an image with 16: 9 and others. but they are stretched not true. how can I fix it?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.