Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Container Image File Size - format

Featured Replies

Part I: Thanks to a recent post, I have been able to show the File size and pathway of my referenced image in a table. I am wondering if there is a way to show all of the information in browse mode without clicking on the field. Currently, it only shows 234,436, etc, etc... When you actually click on it, it shows "file size:.....pathway:...." etc....How do I get that to show all of the time?

Part II: Is there a way to script it to print the actual file rather than the referenced file?

Thanks!

Sarah smile.gif

Is the field big enough? The info is all there I think, it's just 3 lines (and one of them is really long). The numbers you're seeing are just the 1st line, the height and width of the image (or is it visa versa :-?

To print the actual file you have to open it with a graphics application. To open the file you just double-click on the container field. If you've disallowed field entry (in Field Behavior), then you need a script to Go To Field [select, container field]. It will use whatever application is the default for the image type; on Mac OS X the default in usually Preview. Or, if needed, and this is all Mac, you can use AppleScript to specify the application.

If the image was inserted from your local drive, opening it is only going to work on that computer. If it was inserted from a shared drive on another "image server" computer, then it will work on other clients with that volume mounted.

  • Author

The field is large enough to show all of hte info - When it is viewed in Browse, the number is formatted as 324623.54 - but when I click on the field - it shows:

size: 324,623

image:../misrach46s.jpg

imagemac:/Macintosh HD/Users/sarahnatkins/Desktop/misrach46s.jpg

So - there must be something in the formatting but I just can't figure out what?!

Also - I tried double clicking on the container field and nothing happens - did I read this wrong? The field behavior allows it to be entered.

Thanks - Sarah

  • Author

Okay - fixed the formatting - it needed to be formatted as "Leave Formatted as Entered" - but am still curious about the opening/printing of the file...

Thanks

Sarah,

I am also interested in getting the container image file size but unfortunately, i missed the recent post you mentioned.

If I insert a file (or image) in the container filed, is there any way to get the actual size of that file?

Here is an example file using AppleScript to get the file size of the referenced file. It gets the path from the 3rd line of GetAsText ( Image ) info, converting it to a Mac path. It uses that to pass to AppleScript to get the file size (with an approximate conversion of bytes to kilobytes). This requires a script; could be done in a Loop for existing.

As far as double-clicking to open, I goofed. I was thinking of an inserted "file," which does open. To open a referenced image on a Mac it's easy to use AppleScript, using the same path as above. Look at the example.

ImagewSize.zip

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.