Populate image file using HTP.IMG().
Hi,
I'm using iAS 9i, Oracle HTTP Server(Apache) and web pl/sql. I can not populate an image file on my web page.
I am not sure where to store the image files (GIF or PNG)? I am trying to populate an image file on my page using HTP.IMG()command.
For example: HTP.IMG(curl=> '???');
Thank You Very Much,
Frank
null
example
htp.img( '/images/header_r3_c2.gif', cattributes => '
name="header_r3_c2" width="480" height="1" border="0"')
Similar Messages
-
Uploading image file using tcode se78 occuring some Error
Hai Gurus
I am uploading image file using tcode se78 but while Uploading it giving some error i cant resolve the problem so any one help me plz
Error "Graphic LOGO could not be saved (2LOGO)"
Regards
SelvendranHai
Thanks
I had done in all method but i can't save it
error is coming ..so plz help me to upload the image
Error "Graphic LOGO could not be saved (2LOGO)"
Regards
Selvendran -
How to upload a image file using JSP
hello to all.
i am in the learning stage please help me to upload a image file
using jsp. give the explanation to the code also if possible.
thanks in advance
sincerely
ChezhianYou may find the following articles useful for the JSP/Servlet part:
Uploading files: http://balusc.blogspot.com/2007/11/multipartfilter.html
Downloading files: http://balusc.blogspot.com/2007/07/fileservlet.html -
Populate City file using LSM workbench
I need to know how to populate 'City File' using LSM workbench. It would be extremely helpful if anyone answers the following questions:
1) Where to get the US regional structure source data?
2) How to convert it to SAP uploadable format?
3) How to upload the data to SAP system?
In other words, I need to know the steps of the process to populate SAP US regional structure from scratch.
Thanks in Advance.I need to know how to populate 'City File' using LSM workbench. It would be extremely helpful if anyone answers the following questions:
1) Where to get the US regional structure source data?
2) How to convert it to SAP uploadable format?
3) How to upload the data to SAP system?
In other words, I need to know the steps of the process to populate SAP US regional structure from scratch.
Thanks in Advance. -
Best way to upload and store image file using struts
Hello there,
I'm having two choices for uploading image files(not huge image files) using struts a) to store the image in application server's directory
b) to store the image files as BLOB in database.
Although each of the image files have to be associated with unique ID to identify the image for re-display.
Which is the best option. application server's directory or database
joshI think storing it in the application server directory would probably allow for faster access, is easier to code, and doesn't depend on db connectivity.
As for the unique id, you could probably use the File.createTemporaryFile method--it returns a unique id for every file in a directory, given a prefix & suffix. You just have to remember to change the extension from a .tmp to the image format you're using.
Anyway, that's my 2 cents. -
Swapping Macs, can't change the image file used for TM to a Time Capsule
Hello ~
I have ten Macs connected to one TimeCapsule (TC) and nine of them work flawlessly performing a TimeMachine (TM) backup. On the one that doesn't work properly, it is a PBP with Leopard 10.5.8, and latest updates. The other Macs are mixed 10.5.x and 10.6.x.
I had a user on the PBP that I had been backing up in the past. I erased the HD and reinstalled the OS, and then created a new account. I wanted to start backing up the new account and have the name of the backup be the new name I put under Sharing Preference (I assume that's where TM gets the name of the backup).
Well, apparently not, the name of the backup is still the old user name from Sharing, and on the old account before the computer was erased.
I have repaired permissions, I have thrown out the TM prefs in Mac HD\Library\Preferences\, I have restarted the computer. So far I can not get the name to change on the sparse image that it copies to, even though TM says the backup completed without error.
So, as it appears the backup is using the same old image file that this Mac had been using, the backup are separate when you go into TimeMachine, they do not seem to access each other's data, and inspecting the contents of the image, the date of the backup file is there for the new user in the old image file.
I really would just like the PBP to stop using the old image file and create it's own image.
Any ideas welcome!
Thanks all
ChazI'm slightly confused. What is a PBP or did you mean a MacBook Pro (MBP)? And, what do you mean by a backup "image?" TM does not make images. Are you actually referring to the backup folder for this machine?
If I understand correctly what you need to do is delete the old backup for this machine so TM can start from scratch with a new backup. To do that open the TM application and select your backup, then from the Finder's tool icon in the toolbar select "Delete." which should delete the entire backup.
Also, see User Tips for Time Machine for help with TM problems. Also you can select Mac Help from the Finder's Help menu and search for "time machine" to locate articles on how to use TM. See also Mac 101- Time Machine. -
How to handle image files used in PDF forms
With LiveCycle, I've created an interactive form for Help Desk-type requests, and the form works beautifully. I've tested it, and everything works. Show. Hide, Clear fields. And all the other behaviors I added with Action Builder.
As a final design feature, on my local machine at work, I added a header image (which is in My Documents>My Pictures). I tested locally and uploaded the form to Sharepoint and tested from there, and from what I can remember, the form looked fine. The header was intact. So I kind of assumed the image was embedded somehow.
So I brought the file home and opened it there, and -- Voila! -- no header image!
What happened?
Does the image file need to be uploaded and the path relative to the location of the file? To me, this doesn't seem to be a huge problem. More of an unexpected one. I can probably upload the image to someplace in Sharepoint and then set the image path in the XML.
But I'd like to hear the experiences of those who have used image files in their LiveCycle forms.
Message was edited by: ashish gupta. to make the title more descriptive and added some tags.In the Object palette make sure Embed Image Data is ticked.
-
Saving PDF files as image files using the Preview application
I'm converting PDF files into image files for use with OCR software. The problem is that changing the pixels/inch option from 150 to say 300 does not improve the resolution of the resulting image file. E.g. if I save at 150 p/i and then 300p/i both image files are the same size and resolution. I've tried JPG, JPG-2000, TIFF, and GIF. All produce the same fuzzy result. What am I doing wrong?
The schematic file is made up from vector graphics. There are no images embedded in it. For some reason the OCR software (PDF pen) will not recognize the vector drawn characters near the various components. e.g. There may be a resistor with "R5" written next to it. This is the resistors designator. The designator is what I am trying to do the search on. Since PDF pen can perform OCR on scanned (image) documents I thought that turning the PDF schematic into an image file e.g. JPG using Preview would do the trick. Unfortunately as I have already mentioned I can not seem to get Preview to improve the resolution on the resulting image file - the OCR software struggles to recognize any print.
-
Downloadable .tiff files open in quicktime, not as an image file: using mac
I am using a Mac 10.6.3 and
Ffirefox ver: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
downloadable .tiff files open in firefox quicktime, not as image files, nor do they let me choose how to download or where to save or as what type of file.Hello andrea,
You can tell Firefox to ask you where to store your download files by changing the Firefox "Preferences". You can get the instructions on how to do it in this article: [[Downloads window]].
I would advise you to download tiff files as tiff files only otherwise they may become unviewable.
Now, to open your tiff files as images, you can change the settings on your Mac computer as follows:
#Select the tiff image that you downloaded.
#Right click on it and select "Get info"
#A windows will pop up. In this window, select the "Open with" item. Under this item, select "Preview" or any other image viewer application that you want to use.
#Next, click on the "Change All.." button. Click "Continue" in the message that is shown.
That's all. Now, your tiff files will open as images in the application that you just selected
Hope this solves your problem ! -
Oracle db 11gR2
Oracle APEX 4.2.1
Linux RHEL 6.3
I am importing a images file programmatically into APEX. And also a CSS file.
I want to add an images file to my APEX instance but I want to choose the option -- workspace images --. How does one do that programmatically via the APEX API e.g.?
I don't want the images tied to an application within APEX.
Does one do the same thing for CSS files that are imported to APEX?
thx.This is interesting and helpful, I use the following code to import my APEX database application and run it via SQL*Plus and it works fine for database applications -- what do I need to change/add/modify in order to load the images and CSS files? NOTE: I want the images to be -- Workspace images -- not tied to any application. Also, I need to handle the situation where the images and CSS data already exist in the APEX environment as well as when they are not there (i.e. initial install). Usually it is a case where it is an upgrade so the data already exists in the APEX app and just needs to be updated.
declare
v_workspace varchar2(35) := 'WORKSPACE';
n_existing_app number := 123;
n_new_app number := 456;
v_app_alias varchar2(35) := 'WKALIAS';
v_parsing_schema varchar2(35) :='WORKSPACE_PARSE';
n_secgrp_id number;
v_err_msg varchar2(200);
n_err_num number;
n_workspace_id number;
begin
-- get workspace id
select workspace_id
into n_workspace_id
from apex_workspaces
where workspace = v_workspace;
-- set workspace id
apex_application_install.set_workspace_id (n_workspace_id);
-- set security group
apex_util.set_security_group_id (p_security_group_id => apex_application_install.get_workspace_id);
-- set pasring schema
apex_application_install.set_schema(p_schema => v_parsing_schema);
-- delete existing app
begin
wwv_flow_api.remove_flow(n_existing_app);
exception
when NO_DATA_FOUND then -- do nothing when the application does not exist
null;
end;
-- set new app id
apex_application_install.set_application_id(p_application_id => n_new_app);
-- generate offset
apex_application_install.generate_offset;
-- set application alias
apex_application_install.set_application_alias(p_application_alias => v_app_alias);
exception
when others then
n_err_num := SQLCODE;
v_err_msg := SUBSTR(SQLERRM, 1, 200);
dbms_output.put_line('Error number = ' || n_err_num);
dbms_output.put_line('Error message = ' || v_err_msg);
end;
@newapp.sql
commit; -
How to save contents in paintbox to .jpeg or any image file using Director?
I'm having difficulty in our System using Director (THESIS) because one of the compilation we had is to save the drawings in the paintbox into an image file (.jpeg, .bmp, .png, etc). Is there someone who can help me? Please I really need to learn it before deploying the final System. Thanks much~
You could try Valentin's image encoders:
http://valentin.dasdeck.com/lingo/image_encoders/ -
Transfer of image file using xi
Hi,
Can anyone plz clarify how Image files like jpeg..etc are get transfered using XI
thanks
gunaHi,
Check this links
eMail Report as Attachment (Excel/Word)
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
By using some java code internallu it converts to the binary format and send to the target, here we can use the java mapping. -
Upload Image/File using Sql Developer tool
Is there a way to upload an image/file to a HUGEBLOB field from the sql developer tool?
(Toad has this, we were wondering if this is available on sql developer)
Thanks for your help!
SunderK,
Thanks for the answer.
Do you know if you have to restart oracle after loading .jar files ? I ask this because I am not aware if oracle/jvm automatically knows that the jar files have been uploaded.
Thanks -
Problems showing image file using ShowProperty servlet
Hi there,
I´m having problems trying to show an image from the repository using ShowProperty servlet. My node is of type image and my repository is a Library Services enabled repository. When I try to show my node´s binary property "file" the servlet returns the following message "A Primary Property is not defined for Node:...". But checking the node´s ObjectClass I can see that the file property is defined as a primary property. Can somebody help me on this ?
tks,
George EarpHi Anders,
first thanks for trying to help me. Answering your questions in order: I certified myself that the node was saved and checked in using the Portal Administration site. I looked in debug mode and the Node is loaded correctly but the properties aren´t there. I have some more information for you. I decompiled the servlets (ShowBinaryServlet and ShowPropertyServlet). The news are that ShowBinaryServlet is a ShowPropertyServlet´s child that has no additional implementation. Other relevant information is that ShowPropertyServlet implementation gets the Node throught NodeOps object and try to get the binary property with it. But, reading the API and doing tests I could only get my Node properties throught a Virtual Node (see NodeOps Interface part of the API). That´s because my Repository is a managed repository. So, the servlets can´t find the bynary property in my Node because it isn´t there... It is under a VirtualNode... Am I right ? If that´s true I believe I´ll have to implement a solution myself... Too sad... :(
Message was edited by eduardo.earp at Jan 25, 2005 9:21 AM -
Output Mutiple Files Using htp.p
Hello,
I wish to output 3 CSV files from APEX I have the following code
Declare
S_FileName VarChar(20);
S_Counter Number;
begin
-- Set the File NAme
S_FileName :=To_char(sysdate,'yyyymmdd')||'Letters.CSV';
For S_Counter IN 1..4 LOOP
-- Set the MIME type
owa_util.mime_header( 'application/octet', FALSE );
-- Set the name of the file
htp.p('Content-Disposition: attachment; filename="'||S_FILENAME||S_Counter|| '"');
-- Close the HTTP Header
owa_util.http_header_close;
-- Loop through all rows in EMP
for x in (select MPAN_CORE,ACCOUNT_NO
from Categoriser.LTNA_LETTER_ONE_OUTPUT@link_to_dqmDevdb )
loop
-- Print out a portion of a row,
-- separated by commas and ended by a CR
htp.prn(x.MPAN_CORE ||','|| x.ACCOUNT_NO ||','||
x.MPAN_CORE || chr(13));
END LOOP;
END LOOP;
-- Send an error code so that the-- rest of the HTML does not render
htmldb_application.g_unrecoverable_error := true;
end;
At this stage i only want to output 3 files the content is not a issue
I it possible to do this with APEX?
Any help on this is greatly appreciated.
DavidI take it from the lack of response that this is not somthing that APEX can do?No, it's something that HTTP cannot do. Think about it: if it was possible for a server to send multiple files in response to an HTTP request, then it would be possible to break your computer very easily indeed.
aww well looks like i will need to find another way..You'd need something in the browser client-side, Java applet, Flash control etc...
Maybe you are looking for
-
Can I use a memory stick to back up my MacBook Air and what size do I need?
i Have a MacBook air , processor 1.3 Ghz Intel core i5, 4GB 1600 MHz DDR3 memory. Operating on OS X Yosemite Version 10.10.1. it will not open up Safari, it crashed out of Safari with an error message and will not ooen it up now however many times I
-
How do I find the directory where my bookmarks are kept using windows explorer?
Neither firefox nor internet explorer work anymore on my administrator account, but internet explorer works on my guest account. Perhaps a virus caused this. But windows explorer works fine. Computer is so fouled up I want to just buy a new one, bett
-
File Ownership via Command Line
Hello - oh my I went and did a stupid thing. I renamed my home folder and restarted which logged me as a brand new user. I can see my previous folder in the Users folder with all of it's files and everything is there - but I can't access it through t
-
Hi all, Can Oracle BPM connect to SFTP .. If yes, how? There is no External Resource Connection? Or do we just have to add the URL in the code, in one of the automatic activities? Or do we use Fuego.Net.FTPServer? Will this work for SFTP? Edited by:
-
Why cant poll a file more than once using File Adapter..
Hi All, When we run webservice, as I am using File Adapter to read/write the file information. Usually, File Adapter reads once every file and it wont read again the same file whcih already red. Where and How this status maintained by File Adapter/BP