getting selected image name ???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • santral
    Forum Member
    • Dec 2007
    • 59

    getting selected image name ???

    hi, Im confused

    I have lots of photos showed in "Large_Image"....
    so when I click one of my photo, it is showed in "Large_Image"
    AND I want to take selected image name .

    so what I want is =

    in button click:
    PHP Code:
    "name of loaded image in "Large_Image" "
    Image.Load("Large_Image""Autoplay//Images//X.jpg"

    (loaded image in "Large_Image" and X.jpg are diffrent photos)
  • holtgrewe
    Indigo Rose Customer
    • Jul 2002
    • 779

    #2
    Check the help on Image, that may explain it better.
    Image.GetProperties() - There is a lot of information obtained about the Image, one of which is the name.

    PHP Code:
    tProperties Image.GetProperties("Large_Image");
    x=tProperties.ImageFile;
    Dialog.Message("Name: """..x
    hth

    Comment

    • santral
      Forum Member
      • Dec 2007
      • 59

      #3
      thanks..
      and now I found a different way for my purpose...
      "using the code that you give one of previous posts"

      PHP Code:
      iProps Image.GetProperties("Large_Image1")
      uzunluk String.Length(iProps.ImageFile) - String.ReverseFind(iProps.ImageFile"\\"true);
      title String.Right(iProps.ImageFileuzunluk );
      tek String.Left(""..title ,uzunluk );
      tek..".jpg"
      Input.SetText("Input1"""..A);

      Image.Load("Large_Image1""AutoPlay\\Images\\"..A); 
      so I could load labelled images easily...(only deleting last letter)

      Comment

      Working...
      X