0

How to read/copy the file name of a picture in an image container

I need to copy the file name of an image in an image container into another field 

how to do that?

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • blackie
    • blackie
    • 3 yrs ago
    • Reported - view

    You can get the image name with a formula like this:

     

    let path := text(Image);
    substr(path, index(path, "/") + 1)

    Like
    • Vos
    • Vos
    • 3 yrs ago
    • Reported - view

    Great. Thanks

    Like
  • Is it also possible to get the location where the file is on the hard disc?

    Like
    • blackie
    • blackie
    • 6 mths ago
    • Reported - view

    The first line of the example code will put it in the "path" variable.

     

    or just do

    text(Image)

    Like
Like Follow
  • 6 mths agoLast active
  • 4Replies
  • 1546Views