SVG size threshold for direct display #1456

Open
opened 2026-10-05 00:44:42 +02:00 by adam · 0 comments
Owner

In Piwigo 13 we implemented SVG support, but we still use raw SVG in gallery and administration pages which can cause some latency if the uploaded SVGs are too big. As SVGs are mostly used for Icons and drawings with not a lot of details, this should not be felt by the users but for the worst case scenarios we will add a size limit for SVGs.

If the SVG is too big we will create a representative for it so the page loading time is shortened. We still have to decide what the limit is.

In Piwigo 13 we implemented SVG support, but we still use raw SVG in gallery and administration pages which can cause some latency if the uploaded SVGs are too big. As SVGs are mostly used for Icons and drawings with not a lot of details, this should not be felt by the users but for the worst case scenarios we will add a size limit for SVGs. If the SVG is too big we will create a representative for it so the page loading time is shortened. We still have to decide what the limit is. <!-- github-sync-id:1261639915 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1456