x14607 Posted November 18, 2004 Posted November 18, 2004 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?
Fenton Posted November 18, 2004 Posted November 18, 2004 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
x14607 Posted November 19, 2004 Author Posted November 19, 2004 Ingenious... works flawlessly, I love it
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now