Wickerman Posted May 5, 2014 Posted May 5, 2014 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
Rgordon Posted May 5, 2014 Posted May 5, 2014 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. 2
Wickerman Posted May 8, 2014 Author Posted May 8, 2014 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.
David Jondreau Posted May 8, 2014 Posted May 8, 2014 Attach the script to the Container field instead of a View text object.
Wickerman Posted May 8, 2014 Author Posted May 8, 2014 David -- I'm afraid I don't follow your meaning here . . .
David Jondreau Posted May 8, 2014 Posted May 8, 2014 You currently have a button. That button does some action that you like. Make the container field into a button that does the same action.
Wickerman Posted June 8, 2014 Author Posted June 8, 2014 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.
Sky Willmott Posted June 8, 2014 Posted June 8, 2014 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 1
Wickerman Posted July 18, 2014 Author Posted July 18, 2014 Finally got back to this issue and this little script works great. Thanks a million!
Recommended Posts
This topic is 4036 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 accountSign in
Already have an account? Sign in here.
Sign In Now