fine-uploader

Preloading images into fine uploader UI [closed]

北慕城南 提交于 2019-12-14 04:14:26
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Recently I've been spending time getting fine uploader to work on a developing project. I have it working with some custom drag n drop ordering and other options (such as delete) integrated into the fileTemplate option in fine uploader. What I want to achieve is when a user edits their data that contains these

Submit multiple form fields for each file in FineUploader

旧巷老猫 提交于 2019-12-14 03:12:24
问题 I have managed to get fineuploader working fine, including the submission of other form elements. I now have a requirement to have separate form elements for each file that is submitted. If you know how youtube works, then you will see how each video gets additional form fields, then you can fill in while the video is still uploading. I can handle the additional form fields being submitted without any problems (using a separate ajax call if necessary), but how do I associate the form fields

How do I block uploads that lack “DateTimeOriginal” exif data with Fine Uploader?

我是研究僧i 提交于 2019-12-13 21:50:38
问题 I have an app where having the DateTimeOriginal time stamp on photos are absolutely necessary. Is there a way for me to stop uploading and display a message using Fine Uploader? 回答1: I've never heard of the "taken-at" tag, and I don't believe this is a standard field. The rest of this answer assumes you really do want to focus on this tag, but even if you don't you can make a simple change in the source code below to focus on another EXIF tag instead. One approach is to check each file in an

FineUploader: can I use addFiles() from the JQuery wrapper?

房东的猫 提交于 2019-12-13 20:45:28
问题 I'd like to add a second upload button that exclusively invokes the camera on an iOS device. Per the recent blog post I understand this can be done using the addFiles() method. However my project is currently using the JQuery version of FineUploader. Can I access addFiles() from the JQuery version or should I switch to the Vanilla JS version? 回答1: You can access any API methods when using the jQuery plug-in. Using addFiles as an example: $('#myUploader').fineUploader('addFiles', filesOrInputs

show previously uploaded images in [FINE UPLOADER]

非 Y 不嫁゛ 提交于 2019-12-13 13:10:51
问题 I am using fine uploader plugin to upload images. The image upload is working fine. What I am trying to do is when the page is refreshed after image upload fine uploader should show previously uploaded images. Here is my code.. $('#accordion').on('shown.bs.collapse', function () { activeShopId1 = $(".collapse.in").attr("id"); $('#' + activeShopId1 + ' #fine-uploader-gallery' + '.single-image').fineUploader({ template: 'qq-template-gallery', request: { endpoint: 'upload_internal_image' },

Fine Uploader — Upload failed

让人想犯罪 __ 提交于 2019-12-13 12:46:32
问题 I would like to upload a file using Fine Uploader. I used the example given at the website: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fine Uploader Demo</title> <link href="fineuploader-3.5.0.css" rel="stylesheet"> </head> <body> <div id="fine-uploader"></div> <script src="fineuploader-3.5.0.js"></script> <script> function createUploader() { var uploader = new qq.FineUploader({ element: document.getElementById('fine-uploader'), request: {endpoint: 'test.php'} }); } window

Server timeout when re-assembling the uploaded file

徘徊边缘 提交于 2019-12-13 09:01:08
问题 I am running a simple server app to receive uploads from a fine-uploader web client. It is based on the fine-uploader Java example and is running in Tomcat6 with Apache sitting in front of it and using ProxyPass to route the requests. I am running into an occasional problem where the upload gets to 100% but ultimately fails. In the server logs, as well as on the client, I can see that Apache is timing out on the proxy with a 502 error. After trying and seeing this myself, I realized the

programmatically passing FineUploader the location of the file to upload

时光毁灭记忆、已成空白 提交于 2019-12-13 07:37:38
问题 We have prototyped a client-side program that lets users select a local folder, creates a zip, then lets the local browser know about the zip file location via a local web socket. The intention is to then tell fineUploader about this new zip file location, so that it can immediately start the upload process. But I'm not clear how to make this last part of the handoff. I just saw this post which sounds concerning. Is there any way? If not, how might we make an acceptable user experience given

MegaPixImage Error From FineUploader When Loading Page with RequireJS

大兔子大兔子 提交于 2019-12-13 07:35:16
问题 I am refactoring my application to use RequireJS (using the sbt-web abstraction in Play Framework, but that isn't germane). First, I simply sought to use a shim to load FineUploader since it isn't AMD-compatible, but I encountered a " MegaPixImage is not defined " error. That seemed weird to me since FineUploader has no dependencies (as third-party stuff is built-in). But after seeing this Stack Overflow post, I downloaded the library separately and set up my RequireJS configuration this way

Pass additional Fine Uploader params all the way to the uploadSuccess endpoint?

旧时模样 提交于 2019-12-13 04:57:36
问题 I am trying to pass an additional parameter to an instance of Fine Uploader via .on('upload', function(event, id, name) { var artistId = $('#PhotoArtists').val(); $(this).fineUploader('setParams', {artist: artistId}, id); }) with the intention of saving the filename, artist, etc to database in the specified uploadSuccess endpoint. But I don't think my params are being passed that far in any shape or form. (I assume they're available in the file I've specified for signature.endpoint.) Is there