Commit graph

12 commits

Author SHA1 Message Date
Hypolite Petovan
163a85c78f Add new horizontal masonry and image height allocation
- Move image templates to content/image sub-folder
2023-10-03 19:58:52 -04:00
Hypolite Petovan
3333d4af88 Change parameter to PostMedias in Item::makeImageGrid
- Add dimension rescaling when updating the preview URL
2023-10-03 19:58:51 -04:00
Hypolite Petovan
4462ad6bf0 Replace split attachment code with PostMedia objects 2023-10-03 19:58:51 -04:00
Faris
cfe159235a add lazy loading for images 2023-10-02 12:23:02 -04:00
Hypolite Petovan
56fb9be0f7 Revert "Merge pull request #13463 from MrPetovan/task/imagegrid-improvement"
This reverts commit dd7bea4bd1, reversing
changes made to ce16cd12ec.
2023-09-24 16:24:28 -04:00
Hypolite Petovan
06818a96c3 Add height allocation support for single images smaller than the available width 2023-09-24 06:47:18 -04:00
Hypolite Petovan
86141eb363 Add height allocation to single post attached images
- Force single images to expand to the total width of the post
2023-09-23 22:20:17 -04:00
Hypolite Petovan
3cc469c0b7 Rework image grid into a horizontal masonry
- The new server-based horizontal masonry enables tightly packed image grids even with images of varying aspect ratios
- Additionally, the space an image takes is now allocated before it's loaded, reducing content shifting
2023-09-23 22:20:16 -04:00
Michael
b4b9a6a34a Add Fancybox to the core 2023-05-03 20:59:28 +00:00
Hypolite Petovan
2fa9d49632 Normalize padding in image grid
- Remove outside padding, vertical and horizontal
- Remove artificial padding with <br> in content/image.tpl
2022-12-12 21:56:23 -05:00
Michael
3d64c3031b Preview for Videos and images / Video resolution selection 2021-04-28 19:05:46 +00:00
Michael
8685e5ca32 Reworked media handling 2021-04-26 06:50:12 +00:00