November 18, 200421 yr 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?
November 18, 200421 yr 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
Create an account or sign in to comment