Slater Posted Tuesday at 10:44 AM Posted Tuesday at 10:44 AM Hi Everyone, I've got a series of images on a single layout, and I want some images to be greyed out, ie take the opacity down to say 50% so that only some images in the grid stand out. Is there any way that I can do that within the container field (that holds the image), ie if a radio button is checked, then set opacity to 50%? Another way might be to create a copy of the file, have that with 50% opacity, and then load that file through an if then calculation? I've had a search on the site but can't see anything. Comment had something from 2021 but the file that was allied to the comment isn't available any more. Thanks for any pointers!
comment Posted Tuesday at 12:15 PM Posted Tuesday at 12:15 PM (edited) 1 hour ago, Slater said: Comment had something from 2021 I did? Where is that? Filemaker cannot perform any modifications to an image stored in a container field (whether internally or externally). You would have to export the file, modify it in a graphic application and insert the result back into the container field. Doesn't seem to be practical in your scenario. However: 1 hour ago, Slater said: Another way might be to create a copy of the file, have that with 50% opacity, and then load that file through an if then calculation? That is definitely possible. You can have two container fields (or two repetitions of the same field), each containing the same image with different opacity. Then display the one you want using either a calculation field (whose result type is Container) or by hiding one of them conditionally. Now, I do know that Filemaker respects the opacity of a PNG image on macOS, but I don't remember if the same is true for Windows. Edited Tuesday at 12:17 PM by comment
Slater Posted Tuesday at 12:38 PM Author Posted Tuesday at 12:38 PM Hi Comment, I've been trying to find the page ... it might be this one: It's the only one I can find in my history - that link's download is producing a file that FM won't open - but I remembered the link not working before, so perhaps it was another page that I now can't find. I may well have been confusing it with this post from Beverly: https://community.claris.com/en/s/question/0D50H00006h9GM2SAM/fading-images Thanks for the following Quote Filemaker cannot perform any modifications to an image stored in a container field Quote You can have two container fields (or two repetitions of the same field), each containing the same image with different opacity. I did want to keep the process entirely within FM, so I think I'll just use a find to remove the relevant records / images instead. Many thanks 🙌
Recommended Posts
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