on 06-25-2009 5:24 PM
Hi experts!
How can I display an image from a external url, for example "http://www.adobe.com/imageshome/pdfgift_home.gif" ??
I tried to do that:
1. Insert a "Image field"
2. Bind None
3. Embed image data: unselected
4. URL: $record.url
In "url" it's a context's variable. It's type is string. I save in url: http://www.adobe.com/imageshome/pdfgift_home.gif
4. Show: initialize
Script: this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Language: JavaScript
Run at: Client
I can't save image into mimes' folder. It's a bussiness rule in my company.
Thanks
Gustavo Rodriguez
When I proved that:
$.value.image.href = $record.URL
Can't display a image yet. BUT!!! Now appers a popup windows empty!!! Do you know why?
I think that we are more closer the solution
Thanks!
Gustavo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, I'll change the repository for my images in the portal
Regards,
Gustavo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
cna you try changing your formcalc script to
$.value.image.href = $record.URL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I proved with another image.
I can see if I write the path directly in the URL. But I need to display dynamically. I tried with the same path but dynamically and the image didn't display ( I follow the same steps in the first thread)
Any suggestions or ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I tried that way too, but i can't see the image.
Do you have more ideas for my problem ?
Thanks for your quick answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have you tried directly linking it to the image this way? instead of passing through the context to make sure you can access the image?
I just inserted an image on my form.
Bind none
Embed unchecked
URL http://www.adobe.com/imageshome/pdfgift_home.gif
Edited by: robert phelan on Jun 25, 2009 8:07 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.