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

Preview Picture


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

Recommended Posts

Posted

I'm sure there's a very simple solution to this, but it's not coming to me...

I have a portal that contains in each row a small container field with a pic in it (a thumbnail if you will) and a filename field. Next to this portal I want a larger scale preview of the "current" pic, and some way to select which pic would be that current selection. As far as selection goes, some kind of mouseover would be VERY cool, but I don't think there is a way in filemaker. But perhaps clicking each one would select it somehow? And then how to display that pic next to it but larger (obviously a larger container field, but how to relate it through the portal, while still keeping my neat rows in the original portal?)

I'm stuck so far, any suggestions?

Posted

If you have a unique ID for each of the picture records, then you can set it into global field, when you click on the portal thumb.

Create a relationship from that global to the picture record. Show the big picture as related to that. You'll want to clear it, or set it to the 1st related record whenever you come to the layout, or else it'll show which one is last.

Or, better, relate the global ID AND the parent file's ID, to the IDs in the related file. Then you don't have to clear the global, 'cause the relationship will only be valid for the current parent record.

The attached file shows this. It also has a routine for creating sized thumbnails using AppleScript; you'll have to ignore that.

ThumbsImages.zip

This topic is 7310 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.