Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Make pasted images responsive by default?

  • 4 ответа
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от GreyShirt

more options

When I paste an image in a new message, and I want it to be responsive, I have to click Insert, HTML, and then add a style attribute to the img tag, like so:

style="max-width:100%"

Is there any way to add this piece of code automatically? Or to change to default code Thunderbird uses?

Thanks.

When I paste an image in a new message, and I want it to be responsive, I have to click '''Insert''', '''HTML''', and then add a style attribute to the img tag, like so: style="max-width:100%" Is there any way to add this piece of code automatically? Or to change to default code Thunderbird uses? Thanks.

Все ответы (4)

more options

responsive to what... Pasting an image is making a copy of the original so really I do not understand the question I suppose.

more options

Sorry Matt, I should have been clearer: I meant responsive, as in responsive design. I meant the image would adapt to the size of the screen, especially on mobile.

Currently, any image wider than a mobile screen (approx 380px) will overflow on the side, forcing the user to scroll horizontally to view the full image. Hence the style="max-width:100%" I have to insert each time.

Thanks!

more options

yeah, scaling is not a strength of Thunderbird. But in my opinion the whole editor is not a strength.

About the only shortcut I can offer you is to double click the image to open the advanced settings for the image.

more options

Thanks Matt. I spent a few hours (!) looking for a solution that would display correctly in the most popular email clients, but there's always something missing. Most notably, the pasted image produces an img tag without width or height, which makes it impossible to style correctly across clients. I'll explore other solutions using code snippets or something. Thanks again.