php - blueimp jQuery-File-Upload not displaying thumbnail after uploading the image -


i have downloaded latest plugin , dependencies here version 9.12.1. copied downloaded files in wamp server , accessed localhost/jquery-file-upload-9.12.1/index.html.

after selecting image file, preview of image displayed before uploading. once image uploaded thumbnail not getting displayed.

however in inspect element link of thumbnail present in image src.

enter image description here

file uploaded in server folder , thumbnail created.

enter image description here

name , size of image getting displayed. enter image description here

what doing wrong ?

making dirty tricks ... loop until image ready before showing preview image.
see jquery: check if image exists. in case use before image tag ...

            while(urlexists(file.path) != 200) {                    console.log("still loading image");             }             <img src="=file.path" width="100px"> 

the problem writing image little late response client. , 404 error image after rendering html. image exist when checked. above snippet ,i trying wait loading image after server has created image. know not way works. believe error not happen @ production mode , trying fix running @ localhost.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -