Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3779 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am working on an iPad solution designed to browse an art collection.   A container field will display the work of art and there will be some descriptive fields beneath it.

 

Very frequently, the user will want to view the image 'full screen' by tapping on it.  This works great, but in this case it's unfortunate that there's an intermediate step where the user is to select from a number of Actions' -- which includes the 'View' option I want.  This layout won't be intended for doing anything but viewing the art (no need for replacement, deleting, etc.).

 

So, my question is whether there's a way of omitting that intermediate 'Action' step so that the use can simply tap once to view the large image?

 

Albert

Posted

You could put the container in a popover window. Then when the user taps on the picture, trigger a script to show the popover window that contains the larger container field.

  • Like 2
Posted

The problem is that when images display in the container field, you can't pinch / slide / zoom them as you can when they display fullsceen -- and the ability to have the image display completely alone with no framing at all is very desirable.

  • 5 weeks later...
Posted

Sorry to be so slow getting back to this . . . 

 

But, no, I don't have a button -- unless there's some sense in which on Go a container field displaying an image is a button?

 

I think this is really a question about the built-in native behavior of container fields in Go.  Let's say I have a layout with 4 container fields holding images: Kitchen, Bedroom, Yard, Garage.  Each takes up 1/4 of the screen.  When I tap on one for a closer look, I am greeted with this intermediate step where the user is to select from a number of Actions -- one of which is the desired 'full screen' display.

 

I'm wondering whether I can get around this intermediate choice screen -- it gets extremely tedious for a user who is going to want to view several images in a row.

Posted

You could use a script that:

 

Sets a path by using a variable, e.g. $path = Get(TemporaryPath) & GetContainerAttribute(imagefield;"filename")

 

Export Field Contents[imagefield, "$path", Automatically Open]

 

See attached file which runs such a script when the image container is clicked….

 

imagedisplayer.fmp12.zip

  • Like 1
  • 1 month later...
Posted

Finally got back to this issue and this little script works great.

 

Thanks a million!

This topic is 3779 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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