WebDev

SMF Modifications => EhPortal => EhPortal Support => Topic started by: candidosa2 on April 12, 2026, 03:07:22 AM

Title: Bug report – Image resize issue on EhPortal 1.40.3 (SMF 2.1.7)
Post by: candidosa2 on April 12, 2026, 03:07:22 AM
(https://www.webmastersmz.com/webmzpic/uploads/59f98d8e58f6fcdb.png)

Hello Support Team,

I hope you are doing well.

I would like to report a bug related to image display when using the portal.

Environment details:

SMF version: 2.1.7
Portal: EhPortal 1.40.3
Theme: Orangeline 2.1.4

Issue description:
When I activate the option "Resize images on portal", images stop displaying on the portal pages. The image space appears empty, even though the image is correctly loaded in the HTML (e.g., <img class="bbc_img" ...> is present).

When I disable this option, the images display normally again.

Additional notes:

The issue seems to be related to CSS or how the resize function is applied to images within the portal blocks.
I have tested basic CSS fixes (e.g., max-width: 100%; height: auto;) but the problem persists.
This only happens on the portal (EhPortal), not inside forum posts.

Could you please investigate this issue or advise on a fix or workaround?

If needed, I can provide screenshots or access for further testing.

Thank you in advance for your support.

Best regards,
Title: Re: Bug report – Image resize issue on EhPortal 1.40.3 (SMF 2.1.7)
Post by: deansmar on April 12, 2026, 02:05:34 PM
Hi,
i am also on SMF 2.1.7 with Portal 1.40.3

on the themes that i use, i do not see this problem..!
Title: Re: Bug report – Image resize issue on EhPortal 1.40.3 (SMF 2.1.7)
Post by: Chen Zhen on April 12, 2026, 10:06:45 PM

Hello,

 Is this happening on custom HTML blocks and pages or also on the included prefab blocks?
Title: Re: Bug report – Image resize issue on EhPortal 1.40.3 (SMF 2.1.7)
Post by: Chen Zhen on April 12, 2026, 10:25:37 PM
I ran some tests based on what you described and don't see any issues.


With the scenario shown above, the image appears in the news block.
At the moment, I am not able to reproduce what was reported.
Title: Re: Bug report – Image resize issue on EhPortal 1.40.3 (SMF 2.1.7)
Post by: Chen Zhen on April 16, 2026, 05:28:40 PM
Quote from: candidosa2 on April 12, 2026, 03:07:22 AMThe issue seems to be related to CSS or how the resize function is applied to images within the portal blocks.
I have tested basic CSS fixes (e.g., max-width: 100%; height: auto;) but the problem persists.
This only happens on the portal (EhPortal), not inside forum posts.

It's possible that you have a custom PHP or HTML block on your home page that contains some sort of JavaScript error or broken HTML.
That may cause the JavaScript image resizing to fail.
I advise to try disabling all custom blocks to see if it resolves the issue.
If it does then you can enable each of those one at a time until it causes the images to disappear which will indicate which block is the culprit.
EhPortal 1.40.4-RC1 © 2026, WebDev