blueimp / jQuery-File-Upload

File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.
https://blueimp.github.io/jQuery-File-Upload/
MIT License
30.96k stars 7.96k forks source link

UI-dialog does not work #814

Closed Brakus closed 12 years ago

Brakus commented 12 years ago

When I click on the uploaded pictures thumbnail(which is actually in my case a broken image icon) it redirects me to e.g. http://booksdesign/files/jpg/A-Comprehensive-Book-on-Autism-Spectrum-Disorders/A-Comprehensive-Book-on-Autism-Spectrum-Disorders.jpg Instead of giving me the UI-dialog that you can see on the demo? What am I doing wrong? check out my code....

  1. http://pastebin.com/VKyhr1KC - which is in the.../application/modules/design/views/scripts/interface/media.phtml
  2. http://pastebin.com/qJ1i5G99 - the layout of the media.phtml which is in the .../application/layouts/scripts/media.phtml
  3. http://pastebin.com/BAiqFXMX - .../application/modules/design/models/upload.php
  4. http://pastebin.com/5fcxdiug - .../application/modules/design/controllers/interfaceController.php

I also use three .js files :

  1. http://pastebin.com/7ZuUgT5X -.../htdocs/mts/public/style/media/jupload/js/application.js
  2. http://pastebin.com/86qfe0cf -.../htdocs/mts/public/style/media/jupload/js/jquery.fileupload.js
  3. http://pastebin.com/zcLsZn8s -.../htdocs/mts/public/style/media/jupload/js/jquery.fileupload-ui.js

Take a look...and thank you!

blueimp commented 12 years ago

Please read: https://github.com/blueimp/jQuery-File-Upload#support