RenderImage: Improve image render hook and lightbox integration#54
Draft
Gasiyu wants to merge 5 commits into
Draft
RenderImage: Improve image render hook and lightbox integration#54Gasiyu wants to merge 5 commits into
Gasiyu wants to merge 5 commits into
Conversation
- add responsive image support with srcset and sizes attributes - implement lightbox vendor configuration with fancybox and glightbox options - include fallback image and optimize image quality with resizing
…d resizing - add responsive image support with srcset and sizes attributes - include fallback image handling
- use configurable parameters for sizes, quality, resampling filter, format, and fallback size - optimize fallback and responsive image generation across image rendering templates - update default config with new imgproc settings for flexibility
- implement responsive images with srcset, sizes, and fallback configuration - enable configurable parameters for quality, format, resizing, and fallback settings
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces image processing and rendering across multiple configuration files and templates. The changes aim to improve responsiveness, optimize image quality, and provide fallback formats for better compatibility. It also refines the logic for handling featured images, post thumbnails, and lightbox functionality.
Added new parameters in
config.tomlanddocs/config.tomlfor responsive image sizes, resampling filters, fallback formats, and default image quality.Updated
layouts/_default/_markup/render-image.htmlto include logic for responsive image sizes, fallback formats, and lazy loading.Enhanced
layouts/_default/single.htmlto dynamically calculate image dimensions and generate responsivesrcsetattributes for featured images. Added support for lightbox integration.Modified
layouts/partials/post-card.htmlto include responsive image handling for post card thumbnails.