Normal Topic Attach graphic file to image field (Read 1050 times)
bills
Member
*
Offline



Posts: 2
Joined: Apr 13th, 2015
Attach graphic file to image field
Apr 13th, 2015 at 8:56pm
Print Post Print Post  
I have figured out how to do this for a static graphic on a form. How do I attach graphic file names that are different for each record? I can see this already applied in the sample gems database but I cannot figure out how to do so in a new application.

Thanks in advance.

Bill
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Attach graphic file to image field
Reply #1 - Apr 13th, 2015 at 9:42pm
Print Post Print Post  
Add an Image Box type element to your form. Once it is added, double click on it to select an image from your image path while in runtime. The "value" of the element is the file path to the image. If there is a supported image file by that path and name, it will display in the box.
  

add_image.png ( 58 KB | 67 Downloads )
add_image.png

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
bills
Member
*
Offline



Posts: 2
Joined: Apr 13th, 2015
Re: Attach graphic file to image field
Reply #2 - Apr 14th, 2015 at 2:25pm
Print Post Print Post  
Thanks for the quick reply.

That was easy and it worked!  Smiley
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Attach graphic file to image field
Reply #3 - Apr 14th, 2015 at 5:33pm
Print Post Print Post  
You're quite welcome.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Attach graphic file to image field
Reply #4 - Apr 14th, 2015 at 5:33pm
Print Post Print Post  
You're quite welcome.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged