Coder Social home page Coder Social logo

Support individual images about stash HOT 8 CLOSED

stashapp avatar stashapp commented on July 21, 2024 4
Support individual images

from stash.

Comments (8)

WithoutPants avatar WithoutPants commented on July 21, 2024 1

Design considerations

  • some users may have preview image files alongside their video files. These will want to be excluded from the image library
  • exclusion patterns for images may differ to those for video files
  • image files are smaller than video files - oshash will be unsuitable for hashing
  • folders containing images may not necessarily be galleries
  • clicking on an image should be for viewing primarily, metadata viewing/manipulation secondarily

Design decisions

  • maintain a single library folder list, but allow selecting inclusion of video and images for each folder entry
    • alternative 1: separate video and image library fields
  • add separate exclusion pattern field for images
  • use MD5 for hashing of image files
  • only zip files will automatically generate galleries
  • images in zip files should be added in the same way as images outside of zip files, to allow metadata manipulation
  • galleries can be created manually and images may be associated with one or more galleries
  • images will have the following fields:
    • title (defaults to filename)
    • path (readonly)
    • performers
    • tags
    • studio
    • galleries
    • rating
    • o-counter
    • size (readonly)
    • width (readonly)
    • height (readonly)
  • galleries will have the following additional fields:
    • title (defaults to zip path for generated galleries)
    • URL
    • performers
    • tags
    • studio
    • rating
  • scan and clean tasks will include image processing
  • gallery thumbnail generation will be extended to include individual images
  • an images page will be added, allowing querying, filtering and sorting of individual images
    • should include grid and wall views
  • there will not be an individual image page. Instead, clicking an image will show the image in a lightbox style overlay, with metadata viewing/manipulation available in a sidebar on larger screens, or below (with scrolling) on smaller devices
  • the performer page will include an images sub-section, similar to the scenes sub-section
  • images and galleries will be able to be deleted like scenes, with the option to remove generated files
  • multi-edit functionality should be included for individual images

from stash.

QxxxGit avatar QxxxGit commented on July 21, 2024 1

Looking forward to this feature!

I suggest an o_counter field as well for the images, if possible. I could see this being requested often.

from stash.

Leopere avatar Leopere commented on July 21, 2024

If images found adjacent to a scene could also be added as related media or a side gallery that would be awesome.

from stash.

bnkai avatar bnkai commented on July 21, 2024

A couple of points from my use case.

  • Galleries should have the ability to be created easily by images in folders. If i have images organized in folders i would like the ability to create a gallery from the specific images. This could be done either from the UI from a path selector or maybe using the plugin functionality, when that is merged. I wouldn't want to recreate manually all galleries that i already have sorted by directories.
  • A cover image field should also be present. Either as a foreign key to an image or as a blob.

from stash.

bnkai avatar bnkai commented on July 21, 2024

#123 lists a lot of what we already mentioned in details

from stash.

yoshnopa avatar yoshnopa commented on July 21, 2024

Great that this got implemented! From my testing, some suggestions:
The image section should probably be able to filter out gallery-related images, so that only singular images are shown. These are only available via this page and should therefore be available in an easier way. (so basically some gallery IS NULL)
Another thing is the gallery in its new form. Although better for handling metadata, the way its implemented now the viewer is not really useful for at least two reasons:
When your showing the image as a wall, clicking on an image is leading to the images page. this is expected. However, it is probably useful to have a way implemented to go to the next image from there without going back to the gallery screen.
In grid, the viewer is triggered on click, however, the arrow keys are not working for navigation here. Instead, the next gallery or results page (in the image tab) is loaded. This seems to be a bug.
You can however click on the arrows to advance in the viewer, but only to the end of the loaded images. This means, if a gallery has more images than shown on one (result or gallery) page, it skips the second page (and the third and so on) in favor of starting from the beginning again. This also does not seem intended. Maybe this is something an infinite load implementation could fix?

from stash.

WithoutPants avatar WithoutPants commented on July 21, 2024

The image section should probably be able to filter out gallery-related images, so that only singular images are shown. These are only available via this page and should therefore be available in an easier way. (so basically some gallery IS NULL)

This can be done with "is missing -> galleries".

You got your terminology reversed regarding grid and wall, but these are reasonable assessments. I'm not super happy with the image viewing in general, so it's something that I will work on.

from stash.

WithoutPants avatar WithoutPants commented on July 21, 2024

I'm satisified that the implementation pretty much meets the requirements outlined here, so I'll close this. Further refinements can be opened as new issues.

from stash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.