Feature #105332
closedLimit amount of images in Page module preview
0%
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
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!
Updated by Riccardo De Contardi 10 days ago
- File Catturaz2.PNG Catturaz2.PNG added
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)
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.