(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,
I ran some tests based on what you described and don't see any issues.
- Installed Orangeline-214 and switched to it
- Created a post with img bbc at its onset
- Created a news block on the front page that displays posts from that board
- Enabled resize images setting
With the scenario shown above, the image appears in the news block.
At the moment, I am not able to reproduce what was reported.
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.