Upload image with BuddyAPI
I have a cast member as a place holder for a profile pic. I
want the user to browse their computer for an image to use as their
profile pic and then save that file to a specified location (the
same location as the projector) and be the same size as the place
holder image. My place holder image will be called image1.
I think I have to use baGetFileName to get the file and save
it. But it's not working. This needs to work on a mac and pc. Can
someone give me some clues?
The message i recieve is:
-- (member 16 of castLib 1) #member "C:\Documents and Settings\familjen\Skrivbord\1.jpg"
And script stopps and says:
Script error: Handler not defined
rescale(tMember, 140, 300)
#rescale
But problem is solved it works when I remove "rescale(tMember, 140, 300)"
I do wanna rescale the member ... since it dint work i changed the width and height of the sprite instead
The reason it didnt work before it is a director error/bugg because the script works sometimes and sometimes not
But it always work when I make a projector of the file and put the buddy api in a duplicate xtras folder in the same place
as the projector
Though I have another problem
--use this to opem wordpad I put it in frame 1
baOpenFile( "C:\Program\Windows NT\Tillbehör\wordpad.exe" , "active" )
--this I put in frame 15 to put the text in the wordpad
On BeginSprite
baSendKeys( "Some example text of interest" )
end
Well this works! But the wordpad is open all the time and it open up new wordpad every time I
use the script.
So i tried this instead in frame 1:
baSetWindowDepth( baWinHandle() , 3 )
--it puts the director movie behind wordpad
But since wordpad aint active the text "Some example text of interest" wont show
Similar Messages
-
Problem uploading images with php script.
As a webdebdesigner i developped a cms system to upload images with php to a mysql database. Firefox version 5.0.1 for MAC and earlier have no problems with uploading through the script. But after that version it is impossible to upload images bigger then 250kb. The page where the customer chooses his image for upload stalls and the form is not sent to the actual upload script, which should validate and process the image.
This problem only occurs in Firefox, all other browsers work just fine!
On top of that: Giving feedback to firefox not possible for MAC.Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web site development issues with Firefox. <br />
http://forums.mozillazine.org/viewforum.php?f=25 <br />
You'll need to register and login to be able to post in that forum. -
Wordpress http error while uploading images with flash
Hi guys
I have a problem with my wordpress blog " bollywood wallpapers ". When I try to upload images with defualt wordpress flash uploader I get "http" error.
I am having this problem from last 5 months.Dear Siva,
that is indeed strange.
Still don't know if this could be an issue with your NWDS or the PAR itself.
So let's do 2 tests
===============================================
TEST NR. 1
Let's try and check the NWDS first by creating a custom PAR.
Don't worry, it's easy.
Just open your NWDS and go to the top menu
File > New > Project
Inside the popup window that will open please choose
Portal Application (on the left) and Create a Portal Application Project (on the right)
Then give any name you would like (no spaces or dots, etc...)
You now have a Portal project created on NWDS ( you will see a folder on the left side with your project name)
Click on that folder with your LEFT mouse button and choose EXPORT
Choose PAR File
Choose your Project
Choose a path where you want your PAR file to be saved. (uncheck the deploy PAR file, but check the include the source code).
And click Finish.
Now delete the project you have created (by clicking on the folder with your LEFT mouse button again, but chose DELETE project)
Now you're ready to re-import the PAR file.
===============================================
TEST NR. 2
Maybe your standard PAR file that you've downloaded doesn't have the source code included or is corrupted.
Please try to open it with a ZIP program and check what type of structure/files you have there.
Have you also checked your NWDS log ?
You could also share here that log, so that I can better help you.
Kindest Regards
/Ricardo -
Hello,
I am facing a wired issue with Picture Libraries in SharePoint.
We created a custom field and added it to UserInfo list, the column based on custom field lets user upload their personal images to a Picture Library with the name <User ID>.<Image Extension> e.g. 1.jpg where UserID is internal Listitem ID of the UserInfo list and set its URL to the field value which we use to display the image on our custom user profile and some other WebParts.
If the user uploads a different image, it will overwrite the existing one it keeping the same name.
The field worked perfectly with sites using widows Based authentication, but as we move the field to sites with form based authentication we find that the field is able to upload the image properly first time but on each successive upload, although a new image gets uploaded with the name userid.imagextension and is shown in the allitems.aspx page in the thumbnail view and in the picture preview on the dispform.aspx page, but the link next to the name field and the image shown on clicking the preview points to the old image.
To put it other way
https://<Web URL>/Picture%20Library/_w/Upload_jpg.jpg
https://<Web Url>/Picture%20Library/_t/Upload_jpg.jpg
Would show the updated image
but the actual URL
https://<Web Url>/Picture%20Library/Upload.jpg
points to the old image
what’s even more strange is that even after deleting the image the url still shows the old image at
https://<Web Url>/Picture%20Library/Upload.jpg
I confirmed the same by actually repeating the same exercise on a picture Library in the User Interface
Uploading an image say upload.jpeg in the picture library using SharePoint interface.
Then uploading a different jpeg image keeping the same name upload.jpeg again in the picture library.
In allitems.aspx thumbnail view and on dispform.aspx page preview filed image now show the newly uploaded image but when you click the preview image or click the link in the name field value it takes you back to the old image.
I have seen this issue on environment where we have enabled form based authentication and the issue is not seen on another server where we have wss with windows based authentication.
Has anyone noticed such behavior and is there any workaround to that!
Thanks & Regards
Saurabh RustagiAll,
I had the same issue.
In my case, Blob Cache was enabled for the web application in which the image issue was occuring.
I cleared blob cache, and after doing a hard refresh of my browser, the correct image was then displayed.
To clear blob cache, do the following:
Navigate to:
http://yourwebapp:port/yoursite/_layouts/objectcachesettings.aspx
Select: "Object Cache Flush" and "Force all servers in the farm to flush their object cache" check boxes
Click the OK button
Hope this helps. -
Upload image with Zprogram instead se78
Dear Gurus ,
I founf in sdn a useful program that upload images instead se78.
It works fine but i cant find how to pass the Description of the image....
Can you give me a hint ?
Look the code ....
REPORT ZTEST2.
TYPE-POOLS: SBDST.
TABLES: STXBITMAPS.
CONSTANTS:
C_BDS_CLASSNAME TYPE SBDST_CLASSNAME VALUE 'DEVC_STXD_BITMAP',
C_BDS_CLASSTYPE TYPE SBDST_CLASSTYPE VALUE 'OT', " others
C_BDS_MIMETYPE TYPE BDS_MIMETP VALUE 'application/octet-stream',
C_BDS_ORIGINAL TYPE SBDST_DOC_VAR_TG VALUE 'OR'.
* Globals and globals for dynpro fields
DATA: G_OBJECTTYPE(20) TYPE C,
G_NEW_RESOLUTION LIKE STXBITMAPS-RESOLUTION,
G_STXBITMAPS TYPE STXBITMAPS,
G_STXH TYPE STXH,
G_TECHINFO TYPE RSSCG,
T_SIZE(40),
BDS_DESCRIPTION LIKE BAPISIGNAT-PROP_VALUE VALUE 'LALALA'.
CONSTANTS:
C_OBJECTTYPE_BDS LIKE G_OBJECTTYPE VALUE 'BDS',
C_OBJECTTYPE_STDTEXT LIKE G_OBJECTTYPE VALUE 'OBTEXT',
C_OBJECTTYPE_GRTEXT LIKE G_OBJECTTYPE VALUE 'OBGRAPHICS'.
DATA: P_FILENAME TYPE RLGRAP-FILENAME,
P_OBJECT TYPE STXBITMAPS-TDOBJECT,
P_ID TYPE STXBITMAPS-TDID,
P_BTYPE TYPE STXBITMAPS-TDBTYPE,
P_FORMAT TYPE C,
P_TITLE LIKE BDS_DESCRIPTION,
P_RESIDENT TYPE STXBITMAPS-RESIDENT,
P_AUTOHEIGHT TYPE STXBITMAPS-AUTOHEIGHT,
P_BMCOMP TYPE STXBITMAPS-BMCOMP.
DATA L_FILE TYPE STRING..
DATA: L_FILENAME TYPE STRING,
L_BYTECOUNT TYPE I,
L_BDS_BYTECOUNT TYPE I.
DATA: L_COLOR(1) TYPE C,
L_WIDTH_TW TYPE STXBITMAPS-WIDTHTW,
L_HEIGHT_TW TYPE STXBITMAPS-HEIGHTTW,
L_WIDTH_PIX TYPE STXBITMAPS-WIDTHPIX,
L_HEIGHT_PIX TYPE STXBITMAPS-HEIGHTPIX.
DATA: L_BDS_OBJECT TYPE REF TO CL_BDS_DOCUMENT_SET,
L_BDS_CONTENT TYPE SBDST_CONTENT,
L_BDS_COMPONENTS TYPE SBDST_COMPONENTS,
WA_BDS_COMPONENTS TYPE LINE OF SBDST_COMPONENTS,
L_BDS_SIGNATURE TYPE SBDST_SIGNATURE,
WA_BDS_SIGNATURE TYPE LINE OF SBDST_SIGNATURE,
L_BDS_PROPERTIES TYPE SBDST_PROPERTIES,
WA_BDS_PROPERTIES TYPE LINE OF SBDST_PROPERTIES.
DATA WA_STXBITMAPS TYPE STXBITMAPS.
PARAMETERS: P_FILE TYPE RLGRAP-FILENAME OBLIGATORY.
PARAMETERS: P_MATNR LIKE MARA-MATNR OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
START-OF-SELECTION.
DATA: P_NAMEX TYPE STXBITMAPS-TDNAME.
MOVE P_MATNR TO P_NAMEX.
DATA: FILELENGTH TYPE I.
DATA: BEGIN OF L_BITMAP OCCURS 0,
L(64) TYPE X,
END OF L_BITMAP.
L_FILE = P_FILE.
*SELECT SINGLE * FROM STXBITMAPS WHERE TDNAME = P_NAMEX.
* IF SY-SUBRC NE 0.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = L_FILE
FILETYPE = 'BIN'
IMPORTING
FILELENGTH = L_BYTECOUNT
TABLES
DATA_TAB = L_BITMAP
EXCEPTIONS
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
NO_BATCH = 1
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.
* call method l_bds_object->get_info
* exporting
* classname = c_bds_classname
* classtype = c_bds_classtype
* object_key = l_object_key
* changing
* signature = l_bds_signature
* exceptions
* nothing_found = 1
* others = 2.
DATA: P_DOCID TYPE STXBITMAPS-DOCID.
DATA: P_RESOLUTION LIKE STXBITMAPS-RESOLUTION.
DATA: L_OBJECT_KEY TYPE SBDST_OBJECT_KEY.
CALL FUNCTION 'SAPSCRIPT_CONVERT_BITMAP_BDS'
EXPORTING
COLOR = 'X'
FORMAT = 'BMP'
RESIDENT = P_RESIDENT
BITMAP_BYTECOUNT = L_BYTECOUNT
COMPRESS_BITMAP = 'X'
IMPORTING
WIDTH_TW = L_WIDTH_TW
HEIGHT_TW = L_HEIGHT_TW
WIDTH_PIX = L_WIDTH_PIX
HEIGHT_PIX = L_HEIGHT_PIX
DPI = P_RESOLUTION
BDS_BYTECOUNT = L_BDS_BYTECOUNT
TABLES
BITMAP_FILE = L_BITMAP
BITMAP_FILE_BDS = L_BDS_CONTENT
EXCEPTIONS
FORMAT_NOT_SUPPORTED = 1
NO_BMP_FILE = 2
BMPERR_INVALID_FORMAT = 3
BMPERR_NO_COLORTABLE = 4
BMPERR_UNSUP_COMPRESSION = 5
BMPERR_CORRUPT_RLE_DATA = 6
OTHERS = 7.
IF SY-SUBRC <> 0.
ENDIF.
CREATE OBJECT L_BDS_OBJECT.
WA_BDS_COMPONENTS-DOC_COUNT = '1'.
WA_BDS_COMPONENTS-COMP_COUNT = '1'.
WA_BDS_COMPONENTS-MIMETYPE = C_BDS_MIMETYPE."application/octet-stream
WA_BDS_COMPONENTS-COMP_SIZE = L_BDS_BYTECOUNT.
APPEND WA_BDS_COMPONENTS TO L_BDS_COMPONENTS.
WA_BDS_SIGNATURE-DOC_COUNT = '1'.
APPEND WA_BDS_SIGNATURE TO L_BDS_SIGNATURE.
L_OBJECT_KEY = P_NAMEX.
CALL METHOD L_BDS_OBJECT->CREATE_WITH_TABLE
EXPORTING
CLASSNAME = C_BDS_CLASSNAME "DEVC_STXD_BITMAP
CLASSTYPE = C_BDS_CLASSTYPE "OT
COMPONENTS = L_BDS_COMPONENTS
CONTENT = L_BDS_CONTENT
CHANGING
SIGNATURE = L_BDS_SIGNATURE
OBJECT_KEY = L_OBJECT_KEY
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC = 0.
READ TABLE L_BDS_SIGNATURE INDEX 1 INTO WA_BDS_SIGNATURE
TRANSPORTING DOC_ID.
IF SY-SUBRC = 0.
P_DOCID = WA_BDS_SIGNATURE-DOC_ID.
WA_STXBITMAPS-TDNAME = P_NAMEX.
WA_STXBITMAPS-TDOBJECT = 'GRAPHICS'.
WA_STXBITMAPS-TDID = 'BMAP'.
WA_STXBITMAPS-TDBTYPE = 'BCOL'.
WA_STXBITMAPS-DOCID = P_DOCID.
WA_STXBITMAPS-WIDTHPIX = L_WIDTH_PIX.
WA_STXBITMAPS-HEIGHTPIX = L_HEIGHT_PIX.
WA_STXBITMAPS-WIDTHTW = L_WIDTH_TW.
WA_STXBITMAPS-HEIGHTTW = L_HEIGHT_TW.
WA_STXBITMAPS-RESOLUTION = P_RESOLUTION.
WA_STXBITMAPS-RESIDENT = P_RESIDENT.
WA_STXBITMAPS-AUTOHEIGHT = P_AUTOHEIGHT.
WA_STXBITMAPS-BMCOMP = P_BMCOMP.
INSERT INTO STXBITMAPS VALUES WA_STXBITMAPS.
ENDIF.
ENDIF.
*--OAER
DATA: SIGN TYPE TABLE OF BAPISIGNAT WITH HEADER LINE,
COMP TYPE TABLE OF BAPICOMPON WITH HEADER LINE,
CONTENT TYPE TABLE OF BAPICONTEN WITH HEADER LINE,
CONTHEX TYPE TABLE OF SOLIX WITH HEADER LINE,
DOCID TYPE SOFOLENTI1-DOC_ID,
OBJKEY TYPE BAPIBDS01-OBJKEY,
DOC_DATA TYPE SOFOLENTI1.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = L_FILE
FILETYPE = 'BIN'
TABLES
DATA_TAB = CONTENT.
BREAK FTELLI.
OBJKEY = P_NAMEX.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'BDS_DOCUMENTCLASS'.
SIGN-PROP_VALUE = DOC_DATA-OBJ_TYPE.
APPEND SIGN.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'BDS_CONTREP'.
SIGN-PROP_VALUE = ''.
APPEND SIGN.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'BDS_DOCUMENTTYPE'.
SIGN-PROP_VALUE = 'BDS_IMAGE'.
APPEND SIGN.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'BDS_TITLE'.
SIGN-PROP_VALUE = 'DIMITRIS'.
APPEND SIGN.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'DESCRIPTION'.
SIGN-PROP_VALUE = DOC_DATA-OBJ_DESCR.
APPEND SIGN.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'LANGUAGE'.
SIGN-PROP_VALUE = SYST-LANGU.
APPEND SIGN.
COMP-DOC_COUNT = 1.
COMP-COMP_COUNT = 1.
* comp-comp_id = doc_data-obj_descr.
COMP-MIMETYPE = 'image/jpeg'.
COMP-COMP_SIZE = DOC_DATA-DOC_SIZE.
APPEND COMP.
CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREA_TAB'
EXPORTING
CLASSNAME = 'PICTURES'
CLASSTYPE = 'OT'
OBJECT_KEY = OBJKEY "p_matnr
TABLES
SIGNATURE = SIGN
COMPONENTS = COMP
CONTENT = CONTENT
EXCEPTIONS
NOTHING_FOUND = 1
PARAMETER_ERROR = 2
NOT_ALLOWED = 3
ERROR_KPRO = 4
INTERNAL_ERROR = 5
NOT_AUTHORIZED = 6
OTHERS = 7.
COMMIT WORK AND WAIT.
REFRESH: CONTENT, CONTHEX, SIGN, COMP.
Thanks a lot ....Hi,
You should be changing the URL passed to the URLRequest to
point to your server. Please check the URL from the HTML page
generated by your JSP and set the URLRequest URL accordingly.
Hope this helps. -
Uploading images with jsp-PLEASE HELP
Hi
I would like to allow users to upload images(photos) from the website im doing.
i was gonna use perl which seems quite easy. Since everything else i used was jsp i thought i might try to do uploader in jsp (though its seems more difficult)
id like to limit :
the maximum file size to be uploaded ,
the maximum width/height of the image file
the list of the acceptable mime-types (Content-Types) -jpg, gif
Any suggestions how to go about it PLEASE- ie. what packages, classes do i need- mimeparser, BufferedImage, FileFilter? cos im bit lost which classes to use.
THANKS LOTS
sabcarinaThis is the jsp File which helps me to upload the file
But for this Jakarta Commons fileupload is needed which is normally provided with Tomcat 5.5
The code is
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ page import="org.apache.commons.fileupload.DiskFileUpload"%>
<%@ page import="org.apache.commons.fileupload.FileItem"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="java.util.*"%>
<%@ page import="java.io.File"%>
<%@ page import="com.common.*"%>
<!--<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Process File Upload</title>
</head>-->
<%
DerivedLastNoEntity objLastNoEntity=new DerivedLastNoEntity();
DerivedLastNoObject objLastNo=(DerivedLastNoObject)objLastNoEntity.getData(new DerivedLastNoObject(10)).get(0);
int lastNo=objLastNo.getLastNo();
String forwardString=null;
StringBuffer parameters=new StringBuffer();
DiskFileUpload fu = new DiskFileUpload();
// If file size exceeds, a FileUploadException will be thrown
fu.setSizeMax(1000000);
List fileItems = fu.parseRequest(request);
Iterator itr = fileItems.iterator();
while(itr.hasNext()) {
FileItem fi = (FileItem)itr.next();
//Check if not form field so as to only handle the file inputs
//else condition handles the submit button input
if(!fi.isFormField()) {
String fileName=fi.getName();
if(fileName.length()>0)
fileName=(++lastNo)+fileName.substring(fileName.lastIndexOf("."));
File fNew= new File(application.getRealPath("/"), fileName);
parameters.append("&fileName=/struts-blank/"+fileName);
fi.write(fNew);
else
if(fi.getFieldName().equals("forwardString"))
forwardString=fi.getString();
else
parameters.append("&"+fi.getFieldName()+"="+fi.getString());
objLastNo.setLastNo(lastNo);
objLastNoEntity.edit(objLastNo);
System.out.println("before "+forwardString);
if(parameters.length()>0)
if(forwardString.indexOf("?")<0)
forwardString=forwardString.concat(parameters.toString().replaceFirst("&","?"));
else
forwardString=forwardString.concat(parameters.toString());
System.out.println("after "+forwardString);
response.sendRedirect(forwardString);
%>
<!--<body>
Upload Successful!!
</body>
</html>-->Bye for now
CSJakharia -
Problems uploading images with uppercase (.JPG) file extension.
I am using coldfusion 8 and have no problems uploading an image using CFFile when the image has a lowercase file extensions such as .jpg however if the same file has a Uppercase file extension .JPG coldfusion hangs and then just times out. The files are exactly the same just different cases in the extensions.
Any idea?
My cffile is set as such <cffile accept="image/*" action="upload" destination="#uploadfolder2#" filefield="profilePictureFileBrowser" nameconflict="makeunique" >
I tried changing the accept property to image/*, image/jpg, image/JPG but that did not fix the problem eitherThanks for the quick reply. So I removed the tag and even though I get an error after submitting the form it appears to not hang anyways. Any idea how to fix this?
I am on a windows 2003 server so cases sensitifity should not be a problem. I am perplexed as to why this would work with lowercase extensions an not upper? -
Dreamweaver wont completely upload images with ftp
This is my first site I have created. I am using dreamweaver cs5 and I am trying to upload my site to the internet. I set up my ftp and tested it and it worked but when i try to upload my local files to the remote files, i check my domain name and all that comes up is the layout and outline of my boxes. None of the images show up even though the folder with all the images says it transfered over to the remote files. Please help.
Check that you are actually using legal file types and file names.
For example... no psd files, no files created as CMYK color mode.
File names on the server are case sensative and can not contain any special characters such as spaces.
So as a rule, both file and folder names should be all lower case and contain no spaces.
My Image.JPG is NOT the same file as my_image.jpg
Use underscore_instead_of_spaces. .... and no upper case.
Best wishes,
Adninjastrator -
HOW CAN I DO FOR INSERTING AN IMAGE FROM C:\PHOTO.JPG IN HTML DB?
THANKSIt's easy! Go to the following link:
http://www.oracle.com/technology/products/database/htmldb/howtos/howto_change_logo.html>>
Good Luck!
Regina -
Why I can't upload images to facebook?
simply i can't upload images with safari,,, and when i try to upload by simple uploader it close unexpectedly !!!
with flash uploader i cant select photos from folders in my mac !!!Do you have the latest version of flash installed?
http://download.cnet.com/Adobe-Flash-Player/3000-2378_4-10074404.html
Here is a link for flash player 10. -
Yet ANOTHER New Problem - Can No Longer Upload an Image with 64 Bit IE9
I've been uploading images as part of forum posts successfully for weeks using IE9 64 bit, set for Compatibility View.
Suddenly, starting yesterday, using the little camera icon with IE9 64 bit, when I hit the [Browse] button, the entire IE window just disappears, losing the response in progress!
Doing the exact same thing in IE9 32 bit works, and brings up the dialog with which to select a file. So now the workaround is that I must use the 32 bit IE to access this site.
Nothing is changing on this end. No new Add-ons, no config changes. Cache has been cleared to no avail. Nothing appears in the Windows event logs.
Can you folks please try a little harder to settle this forum software down? It's getting rather frustrating to have features just keep dropping out like this.
-NoelJochem van Dieten wrote:
That is a browser preference, not a preference set by some site through HTML. If you are unable to get this configured properly you need to ask in a Microsoft IE forum.
Thank you for your thoughts.
Your answer sounds authoritative, but just what preference would you say governs this behavior? I don't believe there is one, at least not one that directly sets the IE default open folder behavior. And I don't have my browser delete its cache or anything on the way out.
Your answer would seem reasonable but for the fact that the behavior I'm observing changed here recently - in the past week or so - without my having changed browser preferences. Could a Windows Update have changed IE9? Possibly, but I don't recall there being one specifically that coincided with this observed change.
No disrespect intended, but there's no reason to think the script driving the File Open dialog can't request a specific starting folder. That's what I think has been changed here.
Captiv8r wrote:
For me, the dialog simply opens to the last place I elected to open from. It stays that way until I choose to change it again.
What browser/version are you running? Just curious. And have you cleared your cache and checked with the current forum software?
-Noel -
I have problems with uploading images to my internet printing company when the images have been manipulated through CS6 and i have saved images as jpeg the printer company tell me they are not j peg,
but images saved from my phone or camera images that have not been manipulated upload fine, What am i doing wrong?Save/Export them as JPG. Photoshop defaults to PSD, so make sure you select JPG and not just rename the file to .jpg.
There are two ways to save them as JPG: Regular Save as option or Save for Web & Devices
Take your pick. -
Working with ORDIMAGE - upload image
I'm working with Oracle interMedia. I use the type ORDIMAGE for saving my pictures in the database.
With JDeveloper I've created a form for uploading the pictures. No problem with that. But is it possible to automatically generate a thumbnail version of the picture and save this one in a second field of the type ORDIMAGE ?
I was thinking of a trigger maybe that, when inserting or updating an image, automatically generates a thumbnail. Has someone experience with this ?
Greetz!I've got an idea !!!
I remember browsing through the Intermedia documentation that there are methods on the intermedia objects to do exactly that you are trying to do.
I found a code snippet I guess I tried to use, I think it worked.
DECLARE
Image_1 ORDSYS.ORDImage;
BEGIN
SELECT photo INTO Image_1
FROM Photos WHERE photo_id = 1
FOR UPDATE;
-- Convert and replace the image to a thumbnail image
Image_1.process('maxScale=32 32');
UPDATE Photos SET photo = Image_1 WHERE photo_id = 1;
COMMIT;
END;
Maybe this can be a starting point for you, the code actually converts and replaces an image with an thumbnail, it needs to be edited to make it works as a trigger. Try searching the oracle documentation for the "OrdImage.process" procedure it can do a lot with images. -
Creating form with user uploaded image (not attachment)
Is it possible to create a form with a space for user uploaded image? Not attachment.
Thank YouThis is not supported by FormsCentral.
Jeff Canepa
Software Quality Engineer
Adobe Systems, Inc.
[email protected] -
Problem with uploading images in interMedia
Hi,
I'm a newbie trying to upload images to the Database (Oracle 10g release 2) using interMedia. I created a test table called hmm:
create table hmm(product_id number, product_photo blob);
Then I tried to insert the image into the table :
SQL> insert into hmm (product_id, product_photo) values
(3003,ORDImage.init('FILE','MEDIA_DIR','mvd.jpg'));
and I got the following error :
insert into hmm (product_id, product_photo) values (3003,ORDImage.init('FILE','MEDIA_DIR','mvd.jpg'))
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected BLOB got ORDSYS.ORDIMAGE
Can somebody explain.
Thanks,
SteveHi Steve,
Yes, you created your table with a 'blob' type:
create table hmm(product_id number, product_photo blob);
But your insert assumes the product_photo column is an ORDImage type:
SQL> insert into hmm (product_id, product_photo) values
(3003,ORDImage.init('FILE','MEDIA_DIR','mvd.jpg'));
The error: "ORA-00932: inconsistent datatypes: expected BLOB got ORDSYS.ORDIMAGE" is telling you it expected a BLOB in your insert because your table was created with a BLOB type.
If you change your table creation to this it should work:
create table hmm(product_id number, product_photo ORDSYS.ORDIMAGE);
You might want to take a look at the interMedia Image Quick Start on Oracle Technology Network. It should get you up and running quickly. You can find it here:
http://www.oracle.com/technology/products/intermedia/htdocs/intermedia_quickstart/intermedia_quickstart.html
Good luck,
Sue
Maybe you are looking for
-
Bluetooth won't connect to JBL Flip
Is there a fix for Bluetooth yet? My iOS7 upgrade worked for about 15 minutes and then sound jumbled and now won't work. I removed the device and tried to pair it again with my JBL Flip. The phone sees the JBL but wont pair. All of us in the house
-
When I try to fullscreen certain applications in wine, it does a couple of things: * It changes my resolution, both on my main and my other monitor, probably to match the resolution of the game. Key here is that also the resolution of my other monito
-
Headphone amp for use with i-mac
Hi, Im looking for a headphone amplifier for use with my i-mac and logic 9, im using a pair of sennheiser HD 650's, can anyone recommend one? Thanx...
-
Encountering Problems with Basic Sound Tutorial
Hello everyone, I am encountering problems with a basic sound tutorial. I am absolutely confused as to what the problem may be because the code is so simple, and is essentially copied from the textbook. I am convinced that I have done something very
-
Proxy server is refusing connection
I am green at this. I do not want to screw up my computer. After running a virus scan, which said a backdoor virus was detected and quarinteened. I can not link to firefox. I get Firefox is configured to use proxy server that is refusing connection.