trioderegion / melvins-support-desk

Public repository for issues related to Melvin's Mechanical Masterworks, a FoundryVTT module.
Other
2 stars 1 forks source link

Add Path to Custom Art #1

Open brunocalado opened 2 years ago

brunocalado commented 2 years ago

Hi!

Great module!

Can you add a field in settings to the user add paths to their own art?

This would make this module even more useful, because you could use your great art plus custom art you have.

Tks

trioderegion commented 2 years ago

Heyo, thanks for checking us out!

Could you expand a bit more on what this would look like? For context, the image results from Melvin's are pulled from our highly organized and relational external database.

Custom provided images as a basis for searching is a technical possibility, but is not practical at this moment in time (though we would love to get there!).

brunocalado commented 2 years ago

Heyo, thanks for checking us out!

Could you expand a bit more on what this would look like? For context, the image results from Melvin's are pulled from our highly organized and relational external database.

Custom provided images as a basis for searching is a technical possibility, but is not practical at this moment in time (though we would love to get there!).

I just would like to push images into the search. This would let me have your database plus mine.

I don't know how your database work. But, I think this could work for the user by reading the filename.

Example

  1. The user set a folder in settings. /data/myimages
  2. The module read the filenames, the filenames should have some pattern. goblin_dead, goblin_pyro, etc
  3. These user files would show up into the search.
trioderegion commented 2 years ago

I appreciate the clarification. The use case makes more sense now.

At first blush, something like this feels, if not out of scope, like something a bit further down the road. However, I'm a bit more of the frontend guy, so lemme tag in @charlesrwest in case I've missed something :) .