[Transfer] Replace Deprecated vitepress-plugin-image-viewer with Fancybox #708

Open
opened 2025-09-21 19:04:36 +03:00 by OlegShchavelev · 2 comments
OlegShchavelev commented 2025-09-21 19:04:36 +03:00 (Migrated from github.com)

The project currently uses the vitepress-plugin-image-viewer package for image viewing functionality. This dependency has become a potential risk and maintenance burden as its repository was archived by the author in September, indicating it is no longer actively maintained.

Archived Repository: https://github.com/T-miracle/vitepress-plugin-image-viewer

This means:

  • No more bug fixes.
  • No security updates.
  • No compatibility with future versions of VitePress or Vue.
  • Increasing risk of the plugin breaking.

Proposed Solution
Migrate from the deprecated vitepress-plugin-image-viewer to Fancybox.

Why Fancybox?

  • Actively Maintained: A mature, popular, and well-supported library.
  • Feature-Rich: Offers a superb user experience with smooth animations, touch gestures (swipe, zoom, pinch-to-zoom), fullscreen mode, and more.
  • Vue Integration: Provides excellent and official support for Vue.js, which aligns perfectly with our VitePress (Vue-based) setup.
  • Customizable: Highly customizable in terms of UI and behavior.

Resources:

Official Website: https://fancyapps.com/
Live Demos: https://fancyapps.com/fancybox/
Vue Integration Guide: https://fancyapps.com/fancybox/integration/vue/

The project currently uses the vitepress-plugin-image-viewer package for image viewing functionality. This dependency has become a potential risk and maintenance burden as its repository was archived by the author in September, indicating it is no longer actively maintained. **Archived Repository:** https://github.com/T-miracle/vitepress-plugin-image-viewer **This means:** - No more bug fixes. - No security updates. - No compatibility with future versions of VitePress or Vue. - Increasing risk of the plugin breaking. **Proposed Solution** Migrate from the deprecated vitepress-plugin-image-viewer to Fancybox. **Why Fancybox?** - Actively Maintained: A mature, popular, and well-supported library. - Feature-Rich: Offers a superb user experience with smooth animations, touch gestures (swipe, zoom, pinch-to-zoom), fullscreen mode, and more. - Vue Integration: Provides excellent and official support for Vue.js, which aligns perfectly with our VitePress (Vue-based) setup. - Customizable: Highly customizable in terms of UI and behavior. **Resources:** **Official Website:** https://fancyapps.com/ **Live Demos:** https://fancyapps.com/fancybox/ **Vue Integration Guide:** https://fancyapps.com/fancybox/integration/vue/
Ampernic commented 2025-11-04 13:15:53 +03:00 (Migrated from github.com)

Resolved: 37c24f6

Resolved: 37c24f6
oleg self-assigned this 2025-11-08 12:46:56 +03:00
Owner

I think it's premature to close this task. At the moment, I consider it correct to include the component in the theme using plugins.

I think it's premature to close this task. At the moment, I consider it correct to include the component in the theme using plugins.
oleg added reference maks1ms/fix/team/update-maks1ms 2025-11-08 13:01:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
alt-gnome/wiki#708
No description provided.