Issue Feature Rejected

#105332Limit amount of images in Page module preview

Stefan Froemken 10/17/24, 09:33 updated 01/13/25, 14:41

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 1

History 3

  1. Georg Ringer commented and changed status New Rejected 01/09/25, 19:42

    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!

  2. Riccardo De Contardi commented and changed attached Catturaz2.PNG 01/10/25, 08:50

    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)

  3. Ayke Halder commented 01/13/25, 14:41

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