This repository has been archived by the owner. It is now read-only.

[Bug] session, scaling and multiple:false issues when uploading image #1996

Open
izzygold opened this Issue Apr 10, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@izzygold
Copy link

izzygold commented Apr 10, 2018

Type of issue

  • [x ] Bug report
  • Feature request

Uploader type

  • Traditional
  • [x ] S3
  • Azure

Note: Support requests cannot be accepted due to lack of time.

Bug Report

Fine Uploader version

5.16.2

Browsers where the bug is reproducible

{example: "Firefox" and "IE11"}
tested on chrome

Operating systems where the bug is reproducible

{example: "iOS 9.1.0" and "Windows 8.1"}
windows 10

Exact steps required to reproduce the issue

Upload a file with multiple: true, scaling and session, the previous image wont get removed,
after there are 2 images and another file is uploaded only then the images are removed.

The images are getting uploaded to s3. if I disable scaling it works without issues.

You can see a live example of this bug here:
http://www.turipo.com/views/test.php

All relevant Fine Uploader-related code that you have written

<script src="/modules/image_uploader/s3.jquery.fine-uploader.js"></script> <script> $(document).ready(function(){ $("#test").fineUploaderS3({ template: 'qq-template-MainImage', request: { endpoint: "sssss.s3.amazonaws.com", accessKey: 'ssss' }, signature: { endpoint: "/modules/s3/signatureHandler.php" }, uploadSuccess: { endpoint: "/modules/s3/blank.html" }, text: { fileInputTitle: "Upload image" }, session : { endpoint: '/modules/s3/getMainImage.php?tripId='+window.tripId, }, scaling: { sendOriginal: false, includeExif: true, sizes: [ {name: "scaled", maxSize: 500} ], hideScaled:false }, debug: true, multiple: false, });}); </script>

Your Fine Uploader template markup (if using Fine Uploader UI and the issue is UI-related)

{simply copy and paste your template markup}

<script type="text/template" id="qq-template-MainImage">
  • X Retry
Upload a file
Processing dropped files...
Close
No Yes
Cancel Ok
</script>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.