sissilab / obsidian-image-toolkit

An Obsidian plugin for viewing an image.
MIT License
313 stars 23 forks source link

Feature Request: Support Image navigations with dataview results table containing image column #111

Open Nsm7Nash opened 7 months ago

Nsm7Nash commented 7 months ago

My workflow:

First of all thank you for building this great plugin. I have been using this a lot in my workflow.

Feature Request 1:

Currently, I organize all my images within a single note using the format ![[image1]], ![[image2]], etc. This setup allows me to efficiently navigate through my images using the Image Toolkit plugin, utilizing arrow keys for seamless browsing within the note.

However, I've also adopted a practice of creating separate notes for each image, complete with metadata and image links. This enables me to categorize my images effectively. Utilizing a dataview query, I'm able to pull specific images based on criteria (e.g., category=food). While the dataview results table neatly renders the selected images in separate rows, I encounter a limitation with the Image Toolkit plugin. It fails to navigate through all the images within the dataview results, probably because images come from the separate notes. Consequently, clicking on an image within a dataview row only zooms in on that particular image, without the ability to navigate through the entire set of images in the dataview result table. It necessitates clicking on each image individually to zoom in, followed by manually returning to the dataview table to select another image from another row.

Is there a solution to enable seamless navigation through all images within the dataview results table rows?

Feature Request 2:

Additionally, I would appreciate it if the Image Toolkit plugin could support images stored within a DB folder plugin DB as a column. Currently, clicking on an image within a database folder column row does not activate the zoom functionality of the plugin.

Thank you!