Giter Club home page Giter Club logo

Comments (7)

kgar avatar kgar commented on July 24, 2024

Thanks for reporting. Can you show me an example that I might recreate the issue?

I'm having trouble trying to recreate. I can't save a file with any wildcards in it, and I can't get images to show up when there's a wildcard in the path.

image

image

Some more questions to help me figure it out:
Which operating system is Foundry running on?
What Foundry, dnd5e, and Tidy versions are in use?
Are images with wildcards in their path working in general when selecting a token image on the default sheets or the legacy sheets?

from foundry-vtt-tidy-5e-sheets.

BillPitcher avatar BillPitcher commented on July 24, 2024
Screenshot 2024-06-08 at 1 52 36 PM This is an example, in the Token Prototype I have wildcard set Screenshot 2024-06-08 at 1 53 21 PM And they are from the list of Tokens the Path is "modules/ghosts-of-the-netheril-frontier/tokens/potion-alchemists/potion_alchemist_aa_*.webp" Screenshot 2024-06-08 at 1 53 55 PM When I select Show Token by Right Clicking on the Portrait Image Screenshot 2024-06-08 at 1 54 16 PM Screenshot 2024-06-08 at 1 54 40 PM I get... And in the Console Screenshot 2024-06-08 at 1 55 16 PM

It shows it's trying to fetch the filename with the "*" wildcard in it

from foundry-vtt-tidy-5e-sheets.

kgar avatar kgar commented on July 24, 2024

Ah! My apologies. This is a feature I never knew about until now. I'll learn how it works and see what I can do. Thank you again for helping me with this info.

from foundry-vtt-tidy-5e-sheets.

kgar avatar kgar commented on July 24, 2024

Tidy V4.2.0 has the fix.

Thank you again for reporting this. I learned about wildcards, and this exposed a related bug that is now fixed, so every Tidy user has benefitted from your efforts.

Let me know if it is working for you in the new version.

from foundry-vtt-tidy-5e-sheets.

BillPitcher avatar BillPitcher commented on July 24, 2024

I've been testing this and we still have a little problem, if the Ring is set to true, it shows the non-ring Token. I'm not sure if there is a good solution to this. I suppose if the ring is true you could show the -subject img.

We don't get a broken img link now so, great work!!!

from foundry-vtt-tidy-5e-sheets.

kgar avatar kgar commented on July 24, 2024

Glad to be able to help!

If it's having trouble showing the token ring on the canvas, this may be a Foundry / dnd5e issue.

For the image preview feature, I don't think I can visualize the dynamic token ring from the preview window in a standard way. Are there examples of this in the system? I may be able to look at how they're doing it.

from foundry-vtt-tidy-5e-sheets.

kgar avatar kgar commented on July 24, 2024

I will leave it to dnd5e / Foundry to deal with the management of the dynamic token ring. I think it would add too much additional complexity to Tidy to try to work that out in the image preview window.

Thanks again for reporting the wildcard issue. Come back anytime!

from foundry-vtt-tidy-5e-sheets.

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.