Jump to content
Sign in to follow this  
matt_v

Display image

Recommended Posts

I've got a section of a database where I am storing an image as a file. I would like to be able to click a button and have that image display into a container field. Thus far the most I can do is copy the file field and paste it into the container field, but that just puts the image icon in.

Thoughts?

-Matt

Share this post


Link to post
Share on other sites

You can use the webviewer to actually view the image.

Share this post


Link to post
Share on other sites

You could if the original file was stored as a reference in the container field; i.e., if the actual file exists and you have an accurate reference to it. That would mostly be a problem of creating a calculation to produce an "imagewin:" syntax file path instead of a "filewin:" syntax; otherwise the same (result container).

But if you've embedded the file then you'd have to export it out somewhere before you could see it.

Right? Or is there a magic way to reference an embedded file as an image? I've never tried that, but it seems unlikely, since it's not accessible via URL. I'd love to be wrong ;)-]

Share this post


Link to post
Share on other sites

You could if the original file was stored as a reference in the container field; i.e., if the actual file exists and you have an accurate reference to it. That would mostly be a problem of creating a calculation to produce an "imagewin:" syntax file path instead of a "filewin:" syntax; otherwise the same (result container).

But if you've embedded the file then you'd have to export it out somewhere before you could see it.

Right? Or is there a magic way to reference an embedded file as an image? I've never tried that, but it seems unlikely, since it's not accessible via URL. I'd love to be wrong ;)-)

Oh yes. I shouldnt have been so careless in my post; definately should hve mentioned that the webviewer option would be for referenced images or images in a specific location.

I was wondering though why the OP did not just use the option to Insert Image rather than insert file. Then the container field itself could be used to view the image regardless of embedded or referenced.

Share this post


Link to post
Share on other sites

I was wondering though why the OP did not just use the option to Insert Image rather than insert file. Then the container field itself could be used to view the image regardless of embedded or referenced.

I didn't think of that. Changed it to that and it's working fine.

Thanks,

Matt

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.