Comments (5)
Sorry, I don't understand what the "switching image" is, could you please provide a screenshot to illustrate the problem?
from jekyll-theme-chirpy.
If I understand correctly, the issue is about glightbox
and the ability to view all images by "switching" to the next/previous image in the gallery.
Here is a live example https://chirpy.cotes.page/posts/text-and-typography/#darklight-mode--shadow. The post contains images created specifically for light and dark themes. If you open an image and toggle to next/previous, you will see an image not for the current theme in the gallery.
from jekyll-theme-chirpy.
Yes, what @kungfux said was exactly what I wanted to feedback on.
If you click an image on https://chirpy.cotes.page/posts/text-and-typography/#darklight-mode--shadow, you can see the next
button,
If you click the button it will switch to the next image and you will see all images (regardless of whether they are for the light or dark mode).
from jekyll-theme-chirpy.
I'm just keeping Glightbox
's default behavior, to hide images that don't fit the theme mode, you may need to modify Glightbox
configuration, or have Glightbox
disable looping images, and just use its zoom.
Either way, you're welcome to submit a PR to help improve this!
from jekyll-theme-chirpy.
This conversation has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from jekyll-theme-chirpy.
Related Issues (20)
- Error: Custom property values may not be empty HOT 1
- Some options for site.lang are incompatible with giscus API HOT 2
- Website does not update when new one is built/deployed HOT 6
- Missing leading slash from tag and category links HOT 2
- Contents bar on the right hand side doesn't scroll down HOT 3
- Support multi languagues
- description variable in front matter of post is not working HOT 5
- Mermaid diagrams are rendered twice after upgrading from version 6.5.5 to 7.0.1 HOT 1
- Deprecation Warning: Sass's behavior HOT 3
- Pages under /posts/ not being indexed HOT 2
- Not Sure if its harmful: But a depreciated package warning.
- Missing JavaScript Files Causing Errors on Build HOT 1
- Post-sharing links are not visible (even in the documentation site) HOT 2
- Duplicate headers (SEO) HOT 1
- Formula display error, inline formula $ $ can not be displayed?
- Support for keybase.io for contacting
- RTL Support for Chirpy Theme HOT 1
- npm related vs-code tasks in the template. should they be removed? HOT 2
- Ca/cat _locales translation
- _data/origin/basic.yml has incorrect filenames for dayjs. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-theme-chirpy.