Image upload with save to database
Quick question guys,
Can Image upload with save to database be added to an existing form in order to save other info as well as the file name to the database.
Thanks
Col F
Hi,
Not looking at any code you have an upload button for the video and an insert for the form. So both forms are independent of each other it looks like, thats why when you do one you only get that info and when you do the other you only get the other info. You should just make one form with the uploader included. Make one form with all the fields included (movie name, movie page, movie description, movie file) after the form is completed then select the file field and go to...
Server Behaivoirs, Developer Toolbox, File upload, upload file. Follow the widgets.
Similar Messages
-
Multiple image upload with save to database problem
I am developing some backend work for a client, and we recently used the Multiple image upload with save to database wizard without a problem. A few days later, we noticed that we could only upload a single file at a time - it seems that the coding is no longer able to access the flash part of this and is using the javasript function instead. I know the web hosting company has made some changes on the server, and I did some reearch and it seems that there could be an issue with Flash 10, but has anyone else experienced anything like this? Any help is greatly appreciated.
Thanks.
JeremyThank you for the responses. I have already updated awhile ago, so I am wondering what happened. Not sure if during the server update, some files were replaced (unless I totally forgot to update to 1.0.1 on this site). So I reinstalled 1.0.1, deleted the includes folder from the server and uploaded my includes folder and it now works again.
Again, thanks for the help.
Jeremy -
Multiple image upload with save to database wizard problem
hi,
i need to upload multiple images (6) in a table called pictures. i will need the names stored in the database and the files uploaded on the server. since i am new to dreamweaver i can not figure out on how to make this work.
the multiple image upload wizard uploads the images fine and creates a subfolder with the right id but i have no file names in the database at this point. i tried the multiple image upload with save to database wizard but i only get one upload button. it worked fine with one image but i need 6 pics uploaded. the i tried to first upload the pictures with the multiple image upload wizard and use the update wizard to add the names afterwards but that did not work either. hmm. would be great if someone could help me out.
thanks, janThank you for the responses. I have already updated awhile ago, so I am wondering what happened. Not sure if during the server update, some files were replaced (unless I totally forgot to update to 1.0.1 on this site). So I reinstalled 1.0.1, deleted the includes folder from the server and uploaded my includes folder and it now works again.
Again, thanks for the help.
Jeremy -
Multiple Image upload with save to database
Hi everyone,
I wonder whether anyone can help me, I have been trying to use the multiple image upload with save to database wizard. When I create the page and upload it and then view it in Safari the only thing that is on the page is an upload button. When I press the upload button I am able to browse my files and select them. When this window closes a flash loading value is shown but no images have been uploaded.
Am I missing anything? I have had no problems uploading single files and creating albums. I want to create an online gallery so that I can do a multiple upload to a specific album if this is possible.
Cheers
SarahHi Sarah,
>>
but only the filename appeared in the database and no other information was stored.
>>
that´s how it´s been designed also in the "single upload" -- the path_to_the_folder where the files sit in have to be determined elsewhere
>>
{wedimg_idalb}
>>
I don´t see any reference to this "dynamic data" placeholder in any of your table columns you posted -- where does this one come from ?
>>
1. I have multiple clients and each client has their own set of images.
2. Each set of client images must be linked to an album via the album ID
>>
do you have any "foreign key" which is related to the user_table´s ID in order to make user ID 2 upload his images in album ID 2 ? How will the upload page "know" where the images are going to be uploaded to ?
>>
and the album page, wedding_alb
>>
to my mind *this* table would itself need a foreign key to the user_table in order to "map" record 2 to user ID 2 -- or do I miss something ?
Günter Schenk
Adobe Community Expert, Dreamweaver -
Multiple Image Upload with save to database not working in IE anymore
Since updating IE to SP3 ADDT Multiple Image Upload with save to database does not work anymore in IE. It will show a regular file upload field, an does not allow selection of multiple files. It does work in Firefox, but not all my clients use firefox.
PSE Advice.I would consider buying some pluggins from dmxzone.com. They
may cost a
bit upfront but in the long run, you've probably be saving a
lot of
headaches.
http://www.dmxzone.com/
If time's an issue, with these plugins, you could probably
be up and
running in a half hour. George has some really nice pluggins
for
Dreamweaver and well worth the money.
Peter Raun wrote:
>
I am going crazy here
> I will see if i can explain my problem here. . .
> I am trying to use the multiple image upload with save
to database function in
> the developer toolbox, and it work just fine, it lets me
select where to store
> the filename in database and where i want to save the
actual image on the
> server. It is wery easy to use if you just want these
functions.
> But i would also like to give every image a gallery id
in the database, so i
> can sort them out afterwards, its not whery smart to
upload a lot of images to
> a folder, and in the database you just have an image id
and an filename, i cant
> sort them into galleries with these to collums. . . . So
i guess i have to do
> something with the "additional fields" when i am
creating the server behavior
> but i cant figure out what to do?? i would have liked if
i could have made an
> list/menu with all of the availible galleries, and chose
the one that i whould
> add images too and then that gallery id whould be added
to those images in the
> database.
> I have also tried to pass on an url parameter and then
use that as a default
> value in the "additionel field" section but without any
luck at all. . . I hope
> someone here has an idea, that could help me out. . .
> It is sooooo easy to do this, when you are uploading ONE
image at a time, i
> cant figure out why it has to be sooooo hard when using
"multiple image
> upload"
> -
Multiple image upload with save to database wizard
There 's an error message "This feature is not supported for this server model"
Please tell me how can i fix this?That again would be more of a question for the Cold Fusion group.
Try http://forums.adobe.com/community/coldfusion/coldfusion_administration
Those people will be able to help you out more.
Brad Lawryk
Adobe Community Expert, Dreamweaver
Adobe Usergroup Manager, Northern British Columbia Adobe User Group -
Multiple Image Upload with Save to DB - any help would be appreciated
Hi - I'm running into the following issue when using the Multiple Image Upload with Save to DB behaviour.
When I click the link to upload multiple files, I am given the list of local files to choose to upload. No problem here - I can select multiple files.
When i select choose, the uploader shows the progress but hangs at 0%
However (if I cancel the uploads), the first image of the group is uploaded and it's corresponding database entry is entered correctly.
Anyone else have this hangup? If so how did you get around it?
Thanks!
DanJust thought I would update.
The problem seems to be related to redirecting.
I had specified a redirect page, which of course stops the flash file from continuing to upload images after the first one.
Anyone know how to change this so when the flash uploader finished it goes back to a list page?
Thanks again. -
JQuery drag and drop image order with save to database?
We have a property image gallery on our website and a CMS that allows us to add/edit images in the gallery.
Image file names are stored in a database table:
imgID (int)
propertyID (int)
imgfilename (nvarchar)
displayorder (int)
Images are displayed in order of "displayorder" but we'd like to be able to drag and drop the order in our CMS and have this update the database table with the correct display order.
We found this jQuery solution but it doesn't appear to work, although descriptively it's exactly what we're trying to acheive:
http://halnesbitt.com/blog/2010/08/05/save-order-with-jquery-ui-sortable-and-aspaccess
Can anyone advise a similar script or solution? We're using Classic ASP and MSSQL.
Thank you.
NJHi,
Not looking at any code you have an upload button for the video and an insert for the form. So both forms are independent of each other it looks like, thats why when you do one you only get that info and when you do the other you only get the other info. You should just make one form with the uploader included. Make one form with all the fields included (movie name, movie page, movie description, movie file) after the form is completed then select the file field and go to...
Server Behaivoirs, Developer Toolbox, File upload, upload file. Follow the widgets. -
Multiple File & Image uploads with Developers Toolbox
I am considering purchasing the Developers Toolbox if it will
save me some time. The online information isn't very detailed and I
am curious if it has the capabilities of handling multiple image
uploads. For instance I'm building a news page where a news article
will contain more than one image. Is this beyond the scope of the
Developers Toolbox or am I better just hand coding?multiple image upload
(with optional resizing) and file upload features are
available in ADDT when using the PHP_MySQL server model -- without
hand coding. -
Image Upload with overwrite renaming
Hi
I wonder whether anyone can help, I have created an image upload page and want to edit the images in the albums I have created. I want to overwrite the image files and not rename them. Is this possible or do I need to create an update page? If so what would be the best way to go about this? I have tried to create an update page but it doesn't seem to work.
Im using PHP/MYSQL
CheersHi Sarah,
ADDT has a "Delete File" behaviour
(under "File Upload") -- as the Image Upload feature doesn´t provide an "overwrite if exists" option, I guess you´ll have to figure out a tailor-made chain of actions first, like...
1. if the "filename" column of your table is not empty
(means, an image has been uploaded)...
2. then apply the "Delete File" behaviour and delete it.
3. afterwards proceed to the "Image Upload" page and upload the image in question once again
Would this approach make any sense ? ;-)
Günter Schenk
Adobe Community Expert, Dreamweaver -
Image uploading and saving to database
hi ,
I am developing application for summer placement . i want to upload image with candidate's details and save it to database. How to do this? I hv got tutorials for uploading image but want to know how to save it to database table along with candidate's details.
KavitaHi kavita,
In Webdynpro u r using attribute of type Resource ,which is binded to FileUpload UI element. From this attribute, u get file in Input stream format which can be converted into byte array like this
byte fileData[] = null;
try{
InputStream fileIs = wdContext.currentFile().getFileData().read(false);
ByteArrayOutputStream bOut = new ByteArrayOutputStream();
int length;
byte[] part = new byte[10 * 1024];
while ((length = fileIs.read(part)) != -1) {
bOut.write(part, 0, length);
fileIs.close();
fileData = bOut.toByteArray();
bOut.close();
} catch (Exception e) {
wdComponentAPI.getMessageManager().reportSuccess(e.toString());
In webservice u can take a the byte array as input parameter where the uploaded file will be passed as byte array .
In DB u can store it as BLOB .
in case of any other doubt u can revert back to me.
regards
Sumit -
Poor image quality with save for web
It doesn't matter whether i'm exporting from Ai or Ps or whether it's CS6 or CC. I have changed the raster settings in Ai and i've also tried all optimization options with all different export file types (jpg, png, gif) at all different quality settings. It doesn't matter if I start with an ai, eps, pdf, png... the export result is always poor quality.
I have tried exporting at 300ppi and that does fix the quality issue and bloats the file size, but this way (the export route) is so time consuming since you have to resize your artwork each time as well as the artboard so that it doesn't cut off pixels. Save for web never used to have these quality issues and it also never used to cut off pixels around the edges. These workarounds prove very time consuming and produce file sizes that are not ideal.
When i first noticed this issue I was using Mavericks with CS6 and since am using Yosemite and Creative Cloud.
Steps to reproduce:
1. Create any bitmap or vector graphic in Ai or Ps, It doesn't matter whether you convert text to outlines or not
2. Save for web
3. View image in any application or browser to see poor quality and pixel trimming. Others running the same version and system are not having this issue, but I have checked many forums and found many others that do have this same issue but can't seem to find a solution.
Results:stair stepping, degradation, pixel trimming, general poor image quality
Expected results: Previously the save for web feature allowed for a decent quality imageI thought of that too so I tested on another machine with retina display and the file i saved on my machine looked bad on my machine and on the other comparable machine/display. So I sent them the original vector ai file and watched while they saved it the exact same way on their machine and the file looked fine on both of our machines/displays.
All of the settings they used appeared the same as what I used but with different results. I don't recall changing anything but does anyone know if there is some setting that could have been changed that is causing this issue? -
Image upload and display from database blob coloumn in ADF
HI
how can i upload and display image from database ( blob ) coloumn in ADFHi,
Take a look to this video: http://www.youtube.com/watch?v=_KYquJwYFGE
AP -
Vertical Image Scroller with ASP and Database
A vertical image scroller where photos (thumbnails) can be
added or deleted with an app using asp and a database.
The scroller would be able to hold unlimited thumbnails. The
thumbnails
would also be buttons used to go to another frame or html
page.
The thumbnails start to scroll down when mouse rollovers top
half of
vertical thumbnail bar and scrolls up when mouse rollovers
bottom half of
bar. Slows and stops in the center of the bar.
Is this possible?Any idea on how to tackle this?
I have created a image scroller and I know how to create a
database and an
application to add records using asp.
But need help on creating a scroller that holds Unlimited
thumbnails in
Flash and adds the images to the thumbnail bar.
Thanks
"SMB" <[email protected]> wrote in message
news:ehc8kg$cud$[email protected]..
>
> "Joe T" <[email protected]> wrote in message
> news:ehankr$g5d$[email protected]..
>> Looking to create a vertical image scroller where
photos (thumbnails) can
>> be added or deleted with an app using asp and a
database.
>> The scroller would be able to hold unlimited
thumbnails. The thumbnails
>> would also be buttons used to go to another frame or
html page.
>> The thumbnails start to scroll down when mouse
rollovers top half of
>> vertical thumbnail bar and scrolls up when mouse
rollovers bottom half of
>> bar. Slows and stops in the center of the bar.
>>
>> Is this possible?
>>
>>
>
> Yes, definatly possible.
> -
Document Upload with Forms in Database
Hallo,
I'm using Forms Developer 10 and I need a solution for Upload Dokuments (like PDF) with Forms into the Database. Can somebody send a code-sample to me.
Thanks FrankAssuming that you mean version 10.1.2.<something> when you say "...using Forms Developer 10 ...", you can use WebUtil to do this. Information about WebUtil is include in the Forms Builder online help. The Forms WebUtil demo can also be helpful as it includes examples of uploading/downloading. Keep in mind that this is a "demo". Questions or concerns about this demo should be posted here, in the forum and not to Support as they can only offer limited assistance with demo/example code.
http://www.oracle.com/technetwork/developer-tools/forms/downloads/index.html
For more information like installation/configuration details, refer to the following MyOracleSupport note:
<blockquote>How To Install Webutil on 10.1.2.x Oracle Application Server (Doc ID 566628.1)</blockquote>
Maybe you are looking for
-
hi, i have mad a modification in my workflow, now it is stopped with the following error: Source (expression '&_WORKITEM.WORKITEMFATHER.WORKITEMID&') of binding assignment is not availabl Message no. SWF_BND_001101 i have tried to put the workitem-id
-
Chart causing error 1009 when enabling compatibility mode in Flash Builder 4
Hello. I'm trying to use the chart components in Flash Builder 4. I'm using Flex SDK 4, but had to turn on the "Flex 3 compatibility mode" for some off-topic reasons. I simply created a new application and copied the code from the DateTimeAxis class
-
How to switch Macbook pro screen to projector in Windows
Hi guy, I've bought a Macbook Pro Intel based and I've installed O/S Windows XP on it. When I use Windows, I want to change my screen to projector for my presentation but I can not do this. I pressed hot keys from F1-F10 on my Macbook Pro but there's
-
We are working in a project where they need to calculate commission "on the fly" according to the princing discount they gave to the customer on a quote (Oracle Quoting). As once confirmed the quote turn into a sales order in OM we would like to know
-
Java.lang.IllegalStateException: Cipher not initialized during loadtest
Hi All, Below is my code : static Cipher pbeCipher; byte[] encbytes = hexToByte( encrypted ); pbeCipher.init( javax.crypto.Cipher.DECRYPT_MODE, pbeKey, pbeParamSpec ); byte[] decbytes ; synchronized (pbeCipher) { decbytes = pbeCipher.d