dbTalk Databases Forums  

Inserting graphics into container fields by calculation

comp.databases.filemaker comp.databases.filemaker


Discuss Inserting graphics into container fields by calculation in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
neutron
 
Posts: n/a

Default Inserting graphics into container fields by calculation - 09-14-2005 , 04:53 PM






Hello,


Does anyone know how to insert a graphic into a container field as
result of a calculation?


It can be done, as several plugins can do it, but I don't know if it
has to be through a plugin or if a text file containing a jpg image can

be displayed through the calculation field.


If possible, also wath file format would it be?


Any ideas?


Thanks,


Sergio


Reply With Quote
  #2  
Old   
Matt Wills
 
Posts: n/a

Default Re: Inserting graphics into container fields by calculation - 09-14-2005 , 05:09 PM






neutron wrote on (9/14/2005):

Quote:
Hello,


Does anyone know how to insert a graphic into a container field as
result of a calculation?


It can be done, as several plugins can do it, but I don't know if it
has to be through a plugin or if a text file containing a jpg image can

be displayed through the calculation field.


If possible, also wath file format would it be?


Any ideas?


Thanks,


Sergio
The basic syntax is:

image:/C:/Path/To/filename.jpg

Any portion of which can be a calculation, returned as container:

"image:/C:/Path/To/" & ImageName & ".jpg"

or

"image:/C:" & Path & ImageName & "." & Extension

etc.

Matt


Reply With Quote
  #3  
Old   
Matt Wills
 
Posts: n/a

Default Re: Inserting graphics into container fields by calculation - 09-14-2005 , 06:04 PM



Matt Wills wrote on (9/14/2005):

Quote:
neutron wrote on (9/14/2005):

Hello,


Does anyone know how to insert a graphic into a container field as
result of a calculation?


It can be done, as several plugins can do it, but I don't know if it
has to be through a plugin or if a text file containing a jpg image can

be displayed through the calculation field.


If possible, also wath file format would it be?


Any ideas?


Thanks,


Sergio

The basic syntax is:

image:/C:/Path/To/filename.jpg

Any portion of which can be a calculation, returned as container:

"image:/C:/Path/To/" & ImageName & ".jpg"

or

"image:/C:" & Path & ImageName & "." & Extension

etc.

Matt
I should clarify:

The field is a calculation.

It can be hard text, such as "image:/C:/Path/To/filename.jpg" or a
concatenation, but always returned as a container.

Matt

--



Reply With Quote
  #4  
Old   
neutron
 
Posts: n/a

Default Re: Inserting graphics into container fields by calculation - 09-15-2005 , 05:44 PM



Hello Matt,

Thanks for the prompt response and the help

I am sorry I was not clear.

I mean if the image does not come from a file.

Or better, what image format should be returned by a plugin to display
the image into a container field without using the clipboard to copy
paste the image into the container field, but to display it as a result
of the calculated plugin function.

Thanks,

Sergio


Reply With Quote
  #5  
Old   
Matt Wills
 
Posts: n/a

Default Re: Inserting graphics into container fields by calculation - 09-15-2005 , 06:29 PM



neutron wrote on (9/15/2005):

Quote:
Hello Matt,

Thanks for the prompt response and the help

I am sorry I was not clear.

I mean if the image does not come from a file.

Or better, what image format should be returned by a plugin to display
the image into a container field without using the clipboard to copy
paste the image into the container field, but to display it as a result
of the calculated plugin function.

Thanks,

Sergio
I guess I'm still not getting it.

It sounds like you want to display an image as a result of a calculation,
which is what I gave you. You don't need a plugin to do it.

If you are working with a plugin, it would seem to me that your question
would be better answered by whoever wrote the plugin, especially since we
don't know which one you're referring to.

Matt


Reply With Quote
  #6  
Old   
neutron
 
Posts: n/a

Default Re: Inserting graphics into container fields by calculation - 09-17-2005 , 12:04 PM



Hello,

I am writing a plug-in and I am trying to find wich format
to return through the plugin to get it displayed in a
container field.

Thanks,

Sergio


Reply With Quote
  #7  
Old   
Matt Wills
 
Posts: n/a

Default Re: Inserting graphics into container fields by calculation - 09-17-2005 , 02:55 PM



neutron wrote on (9/17/2005):

Quote:
Hello,

I am writing a plug-in and I am trying to find wich format
to return through the plugin to get it displayed in a
container field.

Thanks,

Sergio
You might find what you need in FileMaker Help under "Working With Data In
Container Fields"

Matt


Reply With Quote
  #8  
Old   
Olman Feelyus
 
Posts: n/a

Default Re: Inserting graphics into container fields by calculation - 09-19-2005 , 11:56 AM



I'm not quite sure I get your question, but if you don't want to
retrieve the image from an external file, then you can always keep a
pre-made image in a global container field (or several). You create
these global fields to act as permanent graphics holders and then the
graphics can be retrieved and put in other fields using Set Field.

File type depends on what you want to do with it. If it's just a small
logo or button, you can draw it in the layout, copy and paste it into
the container field (which I think turns it into a bitmap). Otherwise,
jpeg for photographic images and gif from illustrated ones.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.