uploadify

Every flash uploader giving bad progress values

亡梦爱人 提交于 2020-01-01 16:57:10
问题 The file upload script I wrote early last year for an internal website has been misbehaving oddly on a number of machines. On some machines it consistently works fine, on others it consistently misbehaves. I am having exactly the same problem with YUI Uploader, SWFUpload (2.2 and 2.5a), and Uploadify. On the misbehaving machines, the progress event (or callback as the case may be) is reporting the upload going far too quickly. It is progressing around 9 or 10MB/s, instead of the 50 or 60kb/s

Uploadify updateSettings problems

纵饮孤独 提交于 2019-12-31 05:30:13
问题 I've got an uploadify form working beautifully, but I'd like to change the settings programatically and I'm getting an error. Uploadify is initiated on document.ready and I'm trying to bind the updateSettings to a button click (also done in the document.ready). I have also tried using the updateSettings function outside of the document.ready - actually on the button or just inline script to get the same error. The error is Error: document.getElementById(a(this).attr("id") + "Uploader")

Problem sending additional post data to server with uploadify

浪子不回头ぞ 提交于 2019-12-30 11:35:09
问题 I'm using uploadify on a page that allows a user to upload images as well as a category field in which to send those images. Now, I see that uploadify provides a "scriptData" method that allows me to send over key value pairs to the uploadify.php script. But the problem is that the scriptData method grabs its values upon page load(uploadify initialization). Thus when a user is on the page changing values, scriptData still only has the default values that were there on page load. Is there

Uploadify button: Style with CSS?

非 Y 不嫁゛ 提交于 2019-12-28 04:49:08
问题 Is it possible to replace the Uploadify button (which is a graphic containing up/over/down states) with a simple CSS-styled button? 回答1: I was able to get away with something massively more simple. xhtml: <div id="uploadify"> Upload Pictures <div id="uploadify" type="button" /> </div> css: #uploadify object { position:absolute; left:0; right:0; width:100% } javascript: $("#uploadify>div").uploadify({ 'hideButton' : true , 'wmode' : 'transparent' , 'uploader' : '/static/uploadify/uploadify.swf

Getting HTTP Error while using uploadify on Asp.net MVC application [duplicate]

烈酒焚心 提交于 2019-12-25 09:00:55
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Uploadify: show error message from HTTP response I am developing the application on VS 2010. During debugging, When i upload an image file i get IO Error. Here is the image Following is my script <script type="text/javascript"> $(document).ready(function () { $('#file_upload').uploadify({ 'uploader': '/uploadify/uploadify.swf', 'script': 'Home/Upload', 'cancelImg': '/uploadify/cancel.png', 'folder': 'Content

jQuery uploadify change file name as it is being uploaded.

坚强是说给别人听的谎言 提交于 2019-12-25 05:14:41
问题 I am using uploadify (a jQuery plugin) to upload files as I am adding clients to my DB. I would like to attach files to clients. The issue #1 is that the client is a new client so it has not been added to the DB just yet. I have overcome this by getting the next Client_ID in the DB. NOW the real issue is that all files that are uploaded should be prepended with this ID...something like: (29) ---i would like the parenthesis as an added open and close of the client_ID----I have searched on

Can't see any session values when using Uploadify in ASP.NET

不打扰是莪最后的温柔 提交于 2019-12-25 04:04:12
问题 I'm using Uploadify to upload files in my site and in order to make upload more secure I create 'token' (random number) in server side once the page loaded and put it in Session and in JS variable so that when I start upload files I send the same token back to server. The problem is when sending it back I traced the code and the session values all lost, looks like its another session. How is that happening and how can I fix it? Here's a pseudo code in ASP.NET: Server side var token =

uploadify & PHP - upload cancel & page refresh issue

為{幸葍}努か 提交于 2019-12-25 02:19:42
问题 I have integrated uploadify module in my existing programming and things work fine right now. Now, I want to do 2 things. 1 - When I click cancel button during file uploading, file upload process is cancelled immediately and file does not upload on server but file name is stored in database. So how to prevent script so it doesn't store data in database when I cancel the uploading? Please help on this. 2 - Is is possible to refresh entire web page after file uploading process is completed?

Upload multiple files with Uploadify - need ID from input field

↘锁芯ラ 提交于 2019-12-25 01:06:06
问题 I have multiple input fields on one page. Each input field have a text input and a file upload field. The current workflow looks like the following: Directly after the upload the name of the files is stored in the database. (uploadify.php) I get an ID from the database which I need to correspond to the upload field. (uploadify.php - write in session?) Now I need a way to keep track of which file upload corresponds to which text input. If I have the id of the file upload field, I can make a

uploadify with prettyPhoto : uncaught exception: Call to StartUpload failed

不想你离开。 提交于 2019-12-25 00:42:40
问题 We have been using uploadify for image upload and prettyPhoto for displaying images on lightbox in our Rails application. Both works well if used separately. Now we want to display uploadify control on lightbox just like dropbox uses but it start screaming if used with prettyPhoto. Here is sample html using uploadify with prettyPhoto. <!DOCTYPE html> <html> <head> <title>My Uploadify Implementation</title> <link rel="stylesheet" type="text/css" href="uploadify.css"> <link rel="stylesheet"