Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » How to show Images TIFF on Form (Oracle10g, Apex 3.1)
How to show Images TIFF on Form [message #410317] Fri, 26 June 2009 03:35 Go to next message
zraz
Messages: 20
Registered: September 2008
Location: Poland
Junior Member
Hello,

i have report with list of parts and i would like to have a possibility to choose one record/part and go to form with picture of this part.
Image is a TIF format and is saved on another serwer.
How to connect to this serwer and show image on Form.

Thanks for help.
Re: How to show Images TIFF on Form [message #410873 is a reply to message #410317] Tue, 30 June 2009 18:53 Go to previous messageGo to next message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
if the remote image can be served up by some http server (say on that machine), then just embed the required html in your form. Something like this seems to work...

<embed width=200 height=200 src="http://www.alternatiff.com/tiffdocument.tif" type="image/tiff" negative=yes>


If you can't do that, then you need to have some mapped drive / nfsmount or whatever to the remote machine to access the file directly from Apex app server. If you're using embedded pl/sql gateway, you can't reference an external file at the O/S level. If you have an Apache based pl/sql gateway then you can access O/S level files after setting up the virtual aliases in the config file. pl/sql can read O/S level files and send them to your browser but this is going to be quite slow.

[Updated on: Tue, 30 June 2009 18:58]

Report message to a moderator

Re: How to show Images TIFF on Form [message #410949 is a reply to message #410873] Wed, 01 July 2009 04:07 Go to previous messageGo to next message
zraz
Messages: 20
Registered: September 2008
Location: Poland
Junior Member
Hello,

i have based on pl/sql Apache. Can you write how to set up the virtual aliases in the config file ?. How to configure it to send to browser
Re: How to show Images TIFF on Form [message #411764 is a reply to message #410949] Mon, 06 July 2009 11:13 Go to previous message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
Locate httpd.conf and add a new Alias "img" or whatever for your directory. After restaring Apache, you should be able to point your browser to the new location to display one of the images.

http://httpd.apache.org/docs/1.3/mod/mod_alias.html#alias
Previous Topic: How to show Logo Image ?
Next Topic: equivalent to key-next-item
Goto Forum:
  


Current Time: Thu Mar 28 07:32:42 CDT 2024