uploadify

Uploadify suddenly stopped working completely in Chrome 10

折月煮酒 提交于 2019-12-10 04:28:57
问题 I'm using Uploadify to allow for multi file uploading in my web application. It has always worked across IE 7,8, 9, FF 3.6, Safari and Chrome. Today I discovered by accident that it was working in each browser yet not in Chrome. I'm currently on Chrome 10.0.648.82 beta. The issue there is that I can select files to upload, yet after that nothing happens. I put alerts in all Uploadify events and non get fired. Then I went to the official demo site: http://www.uploadify.com/demos/ ...and

HTTP Error 302 using uploadify

主宰稳场 提交于 2019-12-10 02:33:47
问题 I use uploadify to upload files into my web site. It works with one hosting company. And doesn't with other company (sweb.ru). Error is: HTTP error: 302. Does Anybody know how to resolve this problem. Thanks. 回答1: For anyone having this problem with Uploadify and a PHP Framework (e.g., CodeIgniter, CakePHP, Kohana, Yii, etc.): Flash will not pass through your existing PHP Session information, so if you are getting the 302 error it is likely that your application is returning the login URL to

checkbox is always “on”

♀尐吖头ヾ 提交于 2019-12-10 00:36:54
问题 Hy! When Uploadify send the file to the action, I need to know if the checbox is checked or not, so I did: $('#uploaded').uploadify({ 'uploader': '/uploadify.swf', 'cancelImg': '/cancel.png', 'script': '/Interaction/Upload', 'multi': true, 'auto': false, 'method': 'post', 'scriptData': {'Checkbox': $('#checkbox').val()}, }); But I aways get an "on" value. No matter if is checked or not. can anyone help? Tks. UPDATE: I realized that uploadify is getting the checkbox when the page is loaded

Using Uploadify with Sharepoint and .net

这一生的挚爱 提交于 2019-12-09 18:34:25
问题 I have a some html being generated by JQuery on a Share Point page. I want to use uploadify in this html to upload a file to the server. Alexander has helped by providing the following sample code which is based partially on http://www.uploadify.com/forum/viewtopic.php?f=5&t=45. upload.ashx <%@ Assembly Name="ClassName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f099e668beaaa0f9" %> <%@ WebHandler Language="C#" CodeBehind="Upload.ashx.cs" Class="Site.RootFiles.TEMPLATE.LAYOUTS.other

Combining javascript / jQuery and PHP

▼魔方 西西 提交于 2019-12-08 12:23:08
问题 I'm using Uploadify to upload an image. Now I need to get the correct upload path. I have the following code / script: <?php $uploadifyPath = get_bloginfo('url') . '/wp-content/plugins/uploadify/'; $galleryPath = "'".getGalleryURL('1620')."'"; // <--- 1620 is inputed by me. ?> <input id="galleryID" type="hidden" value="1620" name="galleryID"/> <input id="fileInput" name="fileInput" type="file" /> <script type="text/javascript">// <![CDATA[ $(document).ready(function() { $('#fileInput')

Rails 3 Uploadify + Paperclip Can't Auto-Generate Grandchild Record ID On Save

社会主义新天地 提交于 2019-12-08 11:09:07
问题 I have an association as so: User has many Uploads Uploads belongs to User and has many Upload Images Upload Images belong to uploads <-- Grandchild I create my User before I add Uploads to that User. Uploads are stand-alone files of misc type, but they can also have many Upload Images linked to them to better describe the Upload (hence the seperate Upload Image model). Right now the Upload and Upload_Image persistence takes place in the users update function as they're nested form attributes

How to pass file content into [WebMethod] with jquery uploadify plugin

二次信任 提交于 2019-12-08 08:17:39
I would like to pass file content into [WebMethod] with jquery uploadfy plugin But the Upload method can not be invoked.Can anyone help me out? Thanks in advance! Index.aspx: <head runat="server"> <title></title> <link href="uplodify/uploadify.css" rel="stylesheet" type="text/css" /> <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script> <script src="uplodify/swfobject.js" type="text/javascript"></script> <script src="uplodify/jquery.uploadify.v2.1.4.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $('#file_upload')

How to pass file content into [WebMethod] with jquery uploadify plugin

泄露秘密 提交于 2019-12-08 07:58:17
问题 I would like to pass file content into [WebMethod] with jquery uploadfy plugin But the Upload method can not be invoked.Can anyone help me out? Thanks in advance! Index.aspx: <head runat="server"> <title></title> <link href="uplodify/uploadify.css" rel="stylesheet" type="text/css" /> <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script> <script src="uplodify/swfobject.js" type="text/javascript"></script> <script src="uplodify/jquery.uploadify.v2.1.4.min.js" type="text

Uploadify Minimum Image Width And Height

戏子无情 提交于 2019-12-08 06:32:06
问题 So I am using the Uplodify plugin to allow users to upload multiple images at once. The problem is I need to set a minimum width and height for images. Let's say 150x150px is the smallest image users can upload. How can I set this limitation in the Uploadify plugin? When user tries to upload smaller picture, I would like to display some error message as well. Here is the PHP file that is called bu the plugin to upload images: <?php define('BASE_PATH', substr(dirname(dirname(__FILE__)), 0, -22

Uploadify OnComplete to display Image and Image URL using asp.net

三世轮回 提交于 2019-12-08 06:15:18
问题 I am trying to uplaod images to folder an then trying to show them as soon as they upload an I am able to display the image and not able to display it's URL simultaneously. But inividually I am able to display one another. Any help will be greatly appreciated Thanks in advance Here is my java script code: <script type="text/javascript"> $(window).load( function () { $("#Inputfile").fileUpload({ 'uploader': 'scripts/uploader.swf', 'cancelImg': 'images/cancel.png', 'buttonText': 'Browse Files',