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

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

Recommended Posts

  • Newbies
Posted

I have an inventory and I would like to be able to have up to three photos for each record. I currently have three thumbnail fields and one large display thumbnail field. I want the display field to show the first thumbnail as a default but I want to be able to click on each photo and have it display in the larger field. How do I do that? Thanks.

Posted

PropShop:

Welcome to the Forums.

The simplest way to do this would be to have three different layouts, each of which would have a different large image. For clarity, I'll call your 3 thumbnail containers c_1, c_2 and c_3. Your large display field is just a larger version of one of these fields. In Layout 1, the large field is c_1, in Layout 2 it is c_2, and in Layout 3 it is c_3. You would then also have a field - let's call it t_Layout_Number - which would contain the number 1,2 or 3. Each of your small c_1, c_2 and c_3 fields could have an invisible button over it, and when that is clicked, you would have a script which would switch to the corresponding numbered layout, as well as set t_Layout_Number to the corresponding number. Now, any time you go to this layout, you can have a script check what the value is in t_Layout_Number, and always go to the correct layout.

-Stanley

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