News:

Wondering if this will always be free?  See why free is better.

Main Menu

In RC4 inserted image does not adapt to the screen size

Started by forumovod, July 23, 2021, 08:11:43 PM

Previous topic - Next topic

forumovod

After upgrading from RC3 to RC4 - the problem is that the inserted images does not adapt to the screen size.
Community of forum owners (сообщество владельцев форумов на любых движках) https://forumovod.ru

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

forumovod

Quote from: Diego Andrés on July 23, 2021, 10:06:51 PM
Could you link or attach and example?

Examples with screenshots.
An 800 x 533 image is inserted into the message.
When the screen is reduced, a scroll bar appears - the image does not adapt to the width of the screen.
Community of forum owners (сообщество владельцев форумов на любых движках) https://forumovod.ru

Diego Andrés

I'm assuming it's when inserting an attachment?
I can't replicate this after inserting a few large images in the post

SMF Tricks - Free & Premium Responsive Themes for SMF.

forumovod

Quote from: Diego Andrés on July 24, 2021, 08:00:01 PM
I'm assuming it's when inserting an attachment?

yes

This problem appeared on all my forums immediately after upgrading from RC3 to RC4.
Used Large upgrade 2.1 RC4.
php 7.3
Community of forum owners (сообщество владельцев форумов на любых движках) https://forumovod.ru

forumovod

Community of forum owners (сообщество владельцев форумов на любых движках) https://forumovod.ru

Sesquipedalian

1. Can you show us the raw BBcode being used to insert the image?
2. What values do you have set for the "Max display width of posted or attached images" and "Max display height of posted or attached images" settings? (Administration Center ► Posts and Topics ► Post Settings)
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

skb

Let me try to explain the issue.

With RC3, even if the image was inserted within the post with say settings of 150 x 150. It would behave like a thumbnail, and show in original size when clicked.

In RC4 inserted images will display in the max width x max height being set and not show in the uploaded size when clicked.

If this change is intended, then we need to set larger size for max display width x height, and move on.

SMF 2.1.4 / TP 2.2.2

forumovod

Quote from: Sesquipedalian on July 26, 2021, 02:44:25 AM
1. Can you show us the raw BBcode being used to insert the image?
2. What values do you have set for the "Max display width of posted or attached images" and "Max display height of posted or attached images" settings? (Administration Center ► Posts and Topics ► Post Settings)

<div class="post">
<div class="inner" data-msgid="281130" id="msg_281130">
test<br>Image 800 x 533<br><br>
<img src="https://site.ru/index.php?action=dlattach;topic=16674.0;attach=38516" alt="91bfd9ff918efee1598966972.jpg" title="91bfd9ff918efee1598966972.jpg" class="bbc_img">
</div>
</div><!-- .post -->
Community of forum owners (сообщество владельцев форумов на любых движках) https://forumovod.ru

forumovod

Why on simplemachines.org there is no test forum 2.1. RC4 ?
It would be much easier to show the identified problems on the test forum.
Community of forum owners (сообщество владельцев форумов на любых движках) https://forumovod.ru


forumovod

Community of forum owners (сообщество владельцев форумов на любых движках) https://forumovod.ru

Antechinus


Advertisement: