Project

General

Profile

Actions

Feature #105332

closed

Limit amount of images in Page module preview

Added by Stefan Froemken 3 months ago. Updated 7 days ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2024-10-17
Due date:
% Done:

0%

Estimated time:
PHP Version:
8.3
Tags:
Complexity:
Sprint Focus:

Description

Hello,

on Plesk servers it may happen that resources are limited. For example via entry-processes and sub-processes.
In some TYPO3 instances there were inserted a lot of images in content elements. All these images will be rendered as tiny preview image in page layout preview. I could not find a page TSconfig to reduce the amount of renderered images there. After rendering of ~100 images the further images were only listed with their name. The response for each further image is:

```
Resource Limit Is Reached
The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.
```

Can you please add a page TSconfig to reduce the amount of rendered images?

And yes: As a developer I can use Hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem'] to solve the problem.

Stefan


Files

Catturaz2.PNG (54.5 KB) Catturaz2.PNG Riccardo De Contardi, 2025-01-10 08:46
Actions #1

Updated by Georg Ringer 11 days ago

  • Status changed from New to Rejected

Hey Stefan,

thanks for creating the issue. Even though this might be a solution for this problem it is IMHO not good to just provide yet another configuration option. How would configuration look like for other content element types, ...

additionally rendering 100+ images in the frontend is also not a good idea.

therefore I am rejecting the issue, hope you understand!

Actions #2

Updated by Riccardo De Contardi 10 days ago

100+ images is indeed an insane amount, but also showing an unlimited amount of thumbnails is not good IMHO.

if not a configurable amount, I would favor to show a fixed amount of thumbnails (something like 5 or 10 or something like that)

I attach a very rough mockup (Catturaz2.PNG)

Actions #3

Updated by Ayke Halder 7 days ago

IMO having proper lazy-loading with visible pictures loading first implemented, it's totally fine to render 100 pictures in a picture gallery.

Actions

Also available in: Atom PDF