1 Reply Latest reply on Jul 3, 2012 11:52 AM by philmodjunk

    Container file size or path display ?

    ShaikhAtta1238

      Title

      Container file size or path display ?

      Post

      Hello, is it possible to place some sort of field or option which will display the file uploaded in the container field or also a path.

        • 1. Re: Container file size or path display ?
          philmodjunk

          If store by reference was specified with the Insert Picture menu option in order to insert the file, then

          GetValue ( ContainerField ; 1 )

          Will return the pixel dimensions of the image. (5000 x 6000 or some such)

          If the file is NOT inserted with "store a reference", Length ( ContainerField ) returns the size of the file in bytes.

          For files inserted with Insert Picture, GetValue ( Container field ; 3 ) returns the file path.

          For files inserted with Insert File, GetValue ( ContainerField ; 2 ) returns the file path.