-
Notifications
You must be signed in to change notification settings - Fork 121
docs: document image zoom feature with :zoom: directive option #503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
docs: document image zoom feature with :zoom: directive option #503
Conversation
Add comprehensive documentation for the new image zoom/lightbox feature available in the TYPO3 documentation theme. Extension authors can now use CSS classes to enable different zoom modes on figures and images. Coverage includes: - Five zoom modes: lightbox, gallery, inline, lens, and css-only - Practical RST examples for each mode - Accessibility features (keyboard navigation, ARIA, screen readers) - Best practices and use case guidance - JavaScript-free fallback option This enables extension authors to enhance image viewing in their documentation without requiring custom JavaScript or external plugins.
- Inline zoom has full keyboard support: Tab, +/-, arrows, ESC/0 - Lens mode has keyboard activation: Tab, Enter/Space, arrows, ESC
- Document :zoom-factor: option for lens mode magnification - Add versionadded directive noting feature requires v0.2.0+
|
When I render this locally and click on the image for Example 3: Lightbox zoom (Documentation/Reference/ReStructuredText/Graphics/Images.rst) it doesn't seem to open in a lightbox. |
This requires Implementation PR: TYPO3-Documentation/render-guides#1139 |
| ================================= | ||
|
|
||
| .. versionadded:: 0.2.0 | ||
| The image zoom feature was introduced in render-guides version 0.2.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.36.0
|
I think it might be a good idea to add |
Summary
Documents the new image zoom/lightbox feature available in the TYPO3 documentation theme.
Related
Directive Options Documented
:zoom:- The zoom mode (lightbox,gallery,inline,lens):gallery:- Group name for gallery navigation:zoom-indicator:- Show/hide the zoom indicator iconZoom Modes
lightboxgalleryinlinelensExample Usage
Sections Added
:zoom:,:gallery:,:zoom-indicator: