Skip to content
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

Default Click-To-Zoom / Image-Zoom capability #351

Open
Lachlan-White opened this issue Apr 3, 2024 · 2 comments
Open

Default Click-To-Zoom / Image-Zoom capability #351

Lachlan-White opened this issue Apr 3, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Lachlan-White
Copy link

Feature Description

Currently, images added to the hextra theme are missing the functionality of a click-to-zoom capability. This is a pretty common feature that other submodules have implemented, but a default one out of the box with hextra would be excellent.

Problem/Solution

Ease of use for viewing images

Alternatives Considered

This can be achieved by adding a submodule, but is more hassle than it should be

Additional Context

@Lachlan-White
Copy link
Author

Lachlan-White commented Apr 3, 2024

Or at a minimum a guide on how to integrate something such as medium-zoom into Hextra's theme

@imfing imfing added the enhancement New feature or request label Apr 3, 2024
@imfing
Copy link
Owner

imfing commented Apr 3, 2024

Or at a minimum a guide on how to integrate something such as medium-zoom into Hextra's theme

you could follow their guide https://github.com/francoischalifour/medium-zoom (see the codesandbox example

to add the custom stylesheet and javascript scripts to the layouts/partials/custom/head-end.html under your site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants