Raymond Gonzalez Posted February 22, 2007 Posted February 22, 2007 Hello. I think i will win the prize of the newbie of the year! im encountering other problem. I want to make a photo directory. The photo directory will be a layout with the pictures of all the members, when you click the picture it will link you to a main layout where you will fill the other things of the record. The only part that im missing is how to make the list of pictures, not only vertically but also horizontaly. Can somebody help me with that? thanks!
Delta Tango Posted February 22, 2007 Posted February 22, 2007 unfortunately, filemaker does not have the ability to do horizontal and vertical listing that I know of. You must use global fields to display a GROUP of records, but not all of them. For instance, you could create a field with 25 repetitions, and lay them out like this: fieldA[1]fieldA[2]fieldA[3].....to5 fieldA[6].......................to 10 etc. So you would have 5 fields that each one would be set to show 5 repetitions horizontally using the specify field dialog (Control+shift+f.) Then you would need a script to set the fields with the images or the image references (which would make it faster. Images aren't the greatest to store in databases as they make it slow and klunky)
Genx Posted February 22, 2007 Posted February 22, 2007 You could achieve this would a few portals, but it depends on how many pictures you're planning on showing.
Lee Smith Posted February 22, 2007 Posted February 22, 2007 Here is an old file, it will convert, that will do something like you asked. Go to Don Wieland's site (Tips) and look for the file [color:blue]Across4 it is about midway down the page. Link HTH Lee
Fenton Posted February 22, 2007 Posted February 22, 2007 I think Genx's idea should be tried first. It is possible to "tile" portals horizontally. You just enter ending and starting points. Portal 1: Initial row [ 1 ], Number of rows [ 10 ] Portal 2: Initial row [ 11 ], Number of rows [ 10 ] etc. The trouble is if you could have more pictures than would fit in all the above portals, as none (except possibly the last) would have their vertical scroll bar turned on. Then you would have to move on to one of the other suggestions. There a several ways to do this. Most involve, as Lee's suggestion, changing a global or unstored calculation field which is the originating side of the portal's relationship. FileMaker Inc. released another method entirely, in their Photo example file; which they no longer include for some reason. It used copy/paste into a global container. Basically, as long as the number of pictures will fit in your multiple instances of 1 portal, then it's simple. But more than that, or an unknown amount (found set, etc.) and it gets more complex.
Genx Posted February 22, 2007 Posted February 22, 2007 (edited) I thought this might be good to do a sample file for, it's not the first time this has come up and it's fairly easy to achieve in FM 8+. http://fmforums.com/forum/showtopic.php?fid/25/tid/184840/pid/241841/post/241841/#241841 Edited February 22, 2007 by Guest
Recommended Posts
This topic is 6545 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