How to "Save Image" directly instead of "Save Image As"?
Is there anyway or option to directly save images instead of having to click "save image as" then go into the popup to save the image location? Thank you!
Gingerbread Man made good suggestions.
However you still must "save as" something even if "unnamed001". Windows requires a name and location for each file (whether an image or other file) saved. You can have the same file name in different directories (folders).
You can copy and paste images without saving, in some applications.
Similar Messages
-
Image display: instead of an image, there is a "picture placeholder" icon
Hello everyone!
I'm afraid I need some assistance. As I've already indicated in a thread title, I have problems while trying to display an image stored within the database. I read zillion threads here on OTN, searched the Internet, but I can't make it work. More or less, it comes to what Denes Kubicek provided [url http://htmldb.oracle.com/pls/otn/f?p=31517:64:850093673123067]here
Tools I use are Oracle 10g XE database (10.2.0.1.0) and Application Express (3.2.1.00.10).
There's a table that contains information about certain products (such as printer toners, cartridges, CD media etc.). This is its description:
SQL> desc pm_materijal
Name Null? Type
ID NOT NULL NUMBER
IDG NUMBER
SIFRA VARCHAR2(30)
SIFRA_KRATKA VARCHAR2(30)
MODEL VARCHAR2(30)
NAZIV VARCHAR2(255)
NAPOMENA VARCHAR2(255)
FILE_NAME VARCHAR2(200)
MIME_TYPE VARCHAR2(255)
BLOB_CONTENT BLOBOne of its records looks like this (other column values are unimportant) (columns are formatted so that they fit a single line):
SQL> select id, naziv, file_name, dbms_lob.getlength(blob_content) len
2 from pm_materijal
3 where id = 64;
ID NAZIV FILE_NAME LEN
64 CD recordable 1/50 Now I'd like to attach an image to those CDs.
In my Apex application, I created an item (on a page 7) whose name is P7_BROWSE (Display as "File Browse") - it is used to browse directories for files (images, actually). In order to support table record updating, I created a Process (Process point: On submit - after computations and validations).
if :p7_browse is not null then
update pm_materijal set
(mime_type, file_name, blob_content) =
(select
mime_type, name, blob_content
from wwv_flow_files
where name = :p7_browse
where id = :p7_id;
delete from wwv_flow_files
where name = :p7_browse;
end if;It seems that it works OK, because - once I select an image (it is a JPG file, its size is 116 x 116) and push the "Apply Changes" button - the result is as following:
SQL> select id, naziv, file_name, dbms_lob.getlength(blob_content) len
2 from pm_materijal
3 where id = 64;
ID NAZIV FILE_NAME LEN
64 CD recordable 1/50 F477411270/cd_50_komada.jpg 2111 My next step was to create a stored procedure which will be used to display images:
SQL> create or replace procedure image_display (p_id in number)
2 as
3 l_mime varchar2 (255);
4 l_length number;
5 l_file_name varchar2 (200);
6 l_blob blob;
7 begin
8 select mime_type,
9 blob_content,
10 file_name,
11 dbms_lob.getlength (blob_content)
12 into l_mime,
13 l_blob,
14 l_file_name,
15 l_length
16 from pm_materijal
17 where id = p_id;
18
19 owa_util.mime_header (nvl (l_mime, 'application/octet'), false);
20 htp.p ('Content-length: ' || l_length);
21 owa_util.http_header_close;
22 wpg_docload.download_file (l_blob);
23 end image_display;
24 /
Procedure created.As suggested in a few OTN threads, I did this too (although I don't quite understand WHY, as I created the procedure in a schema I use in Apex; there are no other users involved). Anyway: I thought that it won't do any harm (but it didn't do any good either).
SQL> grant execute on image_display to public;
Grant succeeded.
SQL> create public synonym image_display for radni.image_display;
Synonym created.Back to Application Express: I created a Reports Region (Type: SQL Query). Its source is :
select
id,
file_name,
mime_type,
dbms_lob.getlength(blob_content) len,
'<img src="#OWNER#.image_display?p_id='
|| NVL (ID, 0)
|| '" height="'
|| 120
|| '" width="'
|| 120
|| '" />' image
from pm_materijal
where id = :P7_IDFinally, run the page! Reports region contains a single record which displays information I selected in SQL*Plus (so it seems that query DOES return something, and - I'd say that it is correct), but - instead of an image - there's an "invalid (broken) image" icon (you know, a small white rectangle with a red <font color="red">x</font>).
I can't figure out what I did wrong. It should work, but it doesn't. Could someone, please, point me to the right direction?
Regards,
LFPatrick said: specify your schema name instead of the #OWNER# placeholder
I said: while I was trying to make it work, I used "schema_owner.procedure_name" notation too but that didn't help eitherOracle user name is "RADNI" (the one I used to create objects, I was connected to it in SQL*Plus - all my previous copy/pastes were taken while connected to that user).
So I tried with
- <img src="radni.image_display?p_id=... => didn't work
- <img src="RADNI.image_display?p_id=... => didn't work
- <img src="image_display?p_id=... => worked
{code}
I just started using Application Express so, basically, every day I discover something new. I purchased a book (based on Apex 3.2) so I thought that I'd rather stick to it until I +get a feeling+ and then, hopefully, move on to a higher version.
By the way, looking forward to see you on HrOUG in two weeks! -
Loading image name instead of the image
Hi all,
Sorry but i'm a little new to AS3 and flash and have come to an abrupt halt. I have a database (phpMyAdmin 2.6.0-beta2 ) which holds information which i want to display in a flash form so i'm using an XML file to bridge the gap. After building the application in FLASH and running it the text from the database comes through but no the images. Details of what i'm trying to do are as follows:
The XML file
<?php echo "<?xml version='1.0' encoding='ISO-8859-1'?>"?>
<catalogue>
<?php do { ?>
<fish>
<Id><?php echo $row_all_fish['ID']; ?></Id>
<Name><?php echo $row_all_fish['Name']; ?></Name>
<Description><?php echo $row_all_fish['Description']; ?></Description>
<Price><?php echo $row_all_fish['Price']; ?></Price>
<Image><?php echo $row_all_fish['Image']; ?></Image>
</fish>
<?php } while ($row_all_fish = mysql_fetch_assoc($all_fish)); ?>
</catalogue>
<?php
mysql_free_result($all_fish);
?>
The action script part from FLASH
xmlObject = new XML();
xmlObject.onLoad = readMedia;
xmlObject.ignoreWhite = true;
// **************vvvvvvvvvvvvvvvvEdit this bitvvvvvvvvvvvv*********************************
xmlObject.load("http://localhost/fishing/generate_xml.php");
// ***************^^^^^^^^^^^^^^^Edit this bit^^^^^^^^^^^^*********************************************
stop();
function readMedia(success) {
if (success == true) {
// Root node
rootNode = xmlObject.firstChild;
// id = number of child nodes
sizeOfCollection = rootNode.childNodes.length;
// Current node = first child node
currentNode = rootNode.firstChild;
// Display next car.
drawItem();
function drawItem() {
// **************vvvvvvvvvvvvvvvvEdit this bitvvvvvvvvvvvv*********************************
Id.text = currentNode.childNodes[0].firstChild;
Name.text = currentNode.childNodes[1].firstChild;
Description.text = currentNode.childNodes[2].firstChild;
Price.text = currentNode.childNodes[3].firstChild;
Image.text = currentNode.childNodes[4].firstChild;
// ***************^^^^^^^^^^^^^^^Edit this bit^^^^^^^^^^^^*********************************************
debug();
nextFish.onRelease = function() {
nextNode = currentNode.nextSibling;
if (nextNode == null) {
break;
} else {
currentNode = nextNode;
drawItem();
previousFish.onRelease = function() {
nextNode = currentNode.previousSibling;
if (nextNode == null) {
break;
} else {
currentNode = nextNode;
drawItem();
// Read Greens XML file.
Greens.onRelease = function() {
// **************vvvvvvvvvvvvvvvvEdit this bitvvvvvvvvvvvv*********************************
xmlFile = "http://localhost/fishing/generate_xml.php";
// ***************^^^^^^^^^^^^^^^Edit this bit^^^^^^^^^^^^*********************************************
xmlObject.load(xmlFile);
function debug() {
// **************vvvvvvvvvvvvvvvvEdit this bitvvvvvvvvvvvv*********************************
Id = currentNode.childNodes[0].firstChild;
Name = currentNode.childNodes[1].firstChild;
Description = currentNode.childNodes[2].firstChild;
Price = currentNode.childNodes[3].firstChild;
Image = currentNode.childNodes[4].firstChild;
// ***************^^^^^^^^^^^^^^^Edit this bit^^^^^^^^^^^^*********************************************
stop();
I can not workout how to display the image itself instead of the files name. Any help anyone can give would be great!
Thanks for your time helping me.that's actionscript 2.
and, is there an image url in there somewhere? -
How to use enter key instead of save button in tabular form?
Hello,
is there a way to save data entered into a tabular form by clicken enter instead of "submit/save" button?
We got it working for normal forms but not for tab. forms
Regards
FriedrichHi Friedrich,
try to enter
onkeypress="return submitEnter(this,event)"into "Element Attributes" of your tabular form column.
If you hit enter, the page will be submitted with request set to the id of the tabular form column.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins -
"Save As" requested instead of "Save" after digital signature of my PDF
Hi all,
I use Adobe Reader XI.
I have a PDF file configured with a set of fields to be filled in.
One of these fields is a digital signature field.
Everyting is working fine: I can fill the fields and sign the document with my ID card, as you can see below :
The problem I have is that when I sign my document with my digital signature, Adobe request a "Save As". I would like to know if there is a way to only use a "Save" ?
That requirement is very important since we will deploy the solution to more than 5000 users in an environment which is integrated with other tools, and for the whole stuff to work, the users can't change the file name nor file path... In that scenario, you will understand that proposing a "Save As" by default is not the good way to go.
Ciould you please tell me if a solution exists for this ?
Thanks already
BenoîtNever mind, I found the answer.
A matter of setting the Firefox options so that PDF files open in Reader or whatnot rather than prompt to save. -
Image Attachment instead of embedded image (for sending photos)
Hi,
Is there a way to make mail send photos as an attachment rather than as an embedded image in the email? My colleagues are using Lotus Notes at work. Everytime I send them photos, they complain to me that they are having a hard time downloading the pictures 'coz they cannot simply click on it and save.
thanks,
zurczurc,
I sent mail in text-only format and put attachments at the very end of the message. I think photos and images are shown inline when send in a message in formatted-text format.
Putting the files at the very end of the message prevents the mail being "split up" in several parts (body, photo attachment, and signature as attachment) which is also annoying for Windows users.
I have to admit that I don't know if this works with Lotus Notes, but you could give it a try. -
Version: Firefox4Beta
OS: Windows7
Problem:
I was downloading a large RAR file from the internet.
While downloading the file i didn't selected the save option instead i gave open with(winrar) option. I have some other rar files to combine with this file. So after the completion of this partial downloaded rar file is not saved in my system.How can i recover it.
Thanks n regards,
Ponnukumar.Shi,
Thanks for ur reply.
But i already searched the windows and looked for that file.. But its not anywhere to be found. See first while downloading i gave the open option instead of save. So after the completion of the download the file opened automatically in winRAR. I tried to extract that file then it gave me some error. After that i closed the winrar and searched for that file in windows with search option but its not seen anywhere.
Thanks n regards,
S.Ponnukumar -
When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
== This happened ==
Every time Firefox opened
== I updated to one of the firefox versions (Not sure which one it was)Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.
-
How do I add a "file folder" to my TC so that I can save files directly to the TC?
I am trying to figure out how I can add a "File Folder" to my TC so that I can save files directly to it? The only folder it displays is "Data" which is where my bac ups save...
Double click on the "Data" folder in the Finder under the SHARED heading, and then click the gear icon at the top of the window and select New Folder.
You can name this folder anything you wish and also create as many folders as you wish.
If you are also using the Time Capsule drive for Time Machine backups, it is not really recommended that you "mix" regular files with Time Machine backups because there will be a struggle for space on the drive at some point.
If you have plenty of free space on the Time Capsule drive, you may be OK with keeping a portion dedicated for regular files. -
Hi, I would like to know how can I recover a document from pages that I didn't save anytime and instead of saving the doc I clicked the delete button. Is there any way to recover it?
Regardless of application, the first step that I take is to save and name the current document — even if it has no content yet. With Pages, this good habit enables autosave. As you add content, your document revision history is restorable via the File Revert To menu. The delete key has the same document foreboding as only teaching a pet raven to speak "Nevermore."
-
How to save 4 artboards as 1 JPG image in Adobe Illustrator?
I am doing an online class for fundamentals of design.
I had to create 4 different designs, so I did this by doing them on 4 different artboards.
I need to save my work for "web and devices..." as a JPG image in Adobe Illustrator (this i can do). But I want to save this assignment as 1 JPG image with all four artboards showing on one image.
Can anyone tell me how to do this step by step.
Thanks so much!!!
Oh I am using Adobe Illustrator CS5.1Make a new artboard by selecting the Artboard tool and shift-click where you want it to start, then drag it out to cover all four of the images.
-
How can I import photo to computer if my photo were save in event instead of saved photo for ipad? Photo in event are not detected.
Importing Personal Photos and videos from your iOS device to your computer.
http://support.apple.com/kb/HT4083
Cheers, Tom -
How can I Create Class Diagram and save as image in Java
Hi
I have to make a project in java that will generate class diagram of the input class file.
I have some knowledge of listing methods/properties of a class file in text from but don't really know how to draw a class diagram model (JBuilder 2005 such class diagram whenever a class is compiled). I have to save that class diagram in an image file as well.
Please guide me what must be my line of action to follow. I need some suggestions on urgent basis.
Thanx in advance
RegardsHi
My problem is that I have to construct toll like JUDE. What I need from this tool is just to simply draw the diagrams and save in an image format.
So I need to know how to draw the diagram and save in an image file. I don't know about the drawing libraries available in Java. Kindly help me
Regards -
How do I change my preferences to save downloads to my desktop, instead of an internal User's download folder? I have an older Mac Mini & recently upgraded the operating system to 10.5.8.
I presuming you're using the default Internet Browser, Safari.
Choose Safari → Preferences
Alternatively, press Command+, (comma).
Click the General tab; then click the Save Downloaded Files To pop-up menu and choose Other.
Navigate to and select the location where you want the files stored and click Select.
Click the Close button to exit Preferences. -
How can I save the 12-bits gray scale image ?
Software & Hardware
NI-IMAQ Vision 6.0
NI-IMAQ for 1394 2.0.0
Hamamatsu C4742-95
I acqured the 12-bits gray scale image (Format7 , 640X512 size , 12bits) successfully.
And CWIMAQViewer display the correct image of which the range is from 0(black) to 4096(white).
But, I don't find the way to save this image with 12-bits format T.T
Always, CWIMAQVision object save this image to 8-bit format.
I tested all formats - tiff, bmp, aip, png.
I think there are two possible problems.
1. I dont't know the way to save the 12bits gray scale image. :{
2. I dont't know the way to read the 12bits gray scale image that saved correctly.
How can I save and load the 12-bits gray scale image ?
What is the solution for this problem T.T ?Hello,
I would recommend taking a look at the "ReadImage" Visual Basic project for more information on setting the image type and saving the image to file. When you run the program, make sure you select 16 bit for your image. You can also add another button to this example for saving the image. Within the click subroutine for the button, you can add the line:
CWIMAQVision1.WritePNGFile CWIMAQViewer1.Image, "C://image.png"
This method will save the image in the viewer as a png file. As long as it was loaded as a 16 bit image, it should save all of the 12 bit information into the file. You could then test the new image by loading it using the example (you can see the pixel values by right-clicking on the viewer and selecting Settings>>Show Image Info. The pixel value displayed in the info bar corresponds to the mouse position.
Best Regards,
Jesse D.
Applications Engineering
National Instruments
Maybe you are looking for
-
Screen Goes Black and Hangs when browsing by Artist, Album, Song, etc.
I'm having a fairly huge issue with Front Row: I can play video files (although their is a moment of hangtime between selecting a video and the video actually playing) and music files (if I choose the "Shuffle Songs" option), however, when I choose t
-
How to get the file on the content server via ABAP
Hi We are working on an abap that should download certain files stored on the content server and store them on a different file location using GUI_DOWNLOAD. How can we retrieve the files (PDF's) via ABAP from the contentserver? Hope someone can help
-
EJB compilation and deployment problems
Dear fellows I have good understanding of EJB development process, but the compilation and deployment process of EJB is very problematic for me. Please write me the complete steps which should include: 1. Starting from class, interface programs creat
-
Compare the current value with the previous value in the same column
Hi all, I have to include a statement in a query which allows to compare the current value of column A with the previous value of column A (same column). from there, I need to add a condition in order to have the expected result. Let's take an exampl
-
hey there, i've got a problem with my mail client, andd i hope someone's able to help my solve it. my mail client works allright, but i want the mails to stay an the normal mail server as well, so that they are on my normal client and on my phone. i