• Resolved fvila789

    (@fvilawp)


    Here’s a copy/paste of what I see in the browser:
    {"files":[{"name":"DSCN5524 (2).jpg","size":97083,"type":"image\/jpeg","url":"http:\/\/127.0.0.1\/wordpress\/wp-content\/uploads\/files\/2\/DSCN5524%20%282%29.jpg","thumbnail_url":"http:\/\/127.0.0.1\/wordpress\/wp-content\/uploads\/files\/2\/thumbnail\/DSCN5524%20%282%29.jpg","delete_url":"http:\/\/127.0.0.1\/wordpress\/wp-admin\/admin-ajax.php?file=DSCN5524%20%282%29.jpg","delete_type":"DELETE"}]}
    I see a list of items in JQuery HTML5 File Upload Setting > View Uploaded Files, but nothing in the uploaded media of the post.

    https://www.ads-software.com/plugins/jquery-html5-file-upload/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi fvilawp,

    This issue is fixed in the current release

    Thread Starter fvila789

    (@fvilawp)

    thanks Sinash, I’ll try it out

    Thread Starter fvila789

    (@fvilawp)

    Well I updated and the problem seems to persist. If I ask for too many files, I get an empty page with a 0. When the files do upload I get a json text, for example:

    {“files”:[{“name”:”P1040305 (10).JPG”,”size”:4222126,”type”:”image\/jpeg”,”url”:”http:\/\/127.0.0.1\/wordpress\/wp-content\/uploads\/files\/2\/P1040305%20%2810%29.JPG”,”thumbnailUrl”:”http:\/\/127.0.0.1\/wordpress\/wp-content\/uploads\/files\/2\/thumbnail\/P1040305%20%2810%29.JPG”,”deleteUrl”:”http:\/\/127.0.0.1\/wordpress\/wp-admin\/admin-ajax.php?file=P1040305%20%2810%29.JPG”,”deleteType”:”DELETE”},{“name”:”P1040311 (10).JPG”,”size”:3720115,”type”:”image\/jpeg”,”url”:”http:\/\/127.0.0.1\/wordpress\/wp-content\/uploads\/files\/2\/P1040311%20%2810%29.JPG”,”thumbnailUrl”:”http:\/\/127.0.0.1\/wordpress\/wp-content\/uploads\/files\/2\/thumbnail\/P1040311%20%2810%29.JPG”,”deleteUrl”:”http:\/\/127.0.0.1\/wordpress\/wp-admin\/admin-ajax.php?file=P1040311%20%2810%29.JPG”,”deleteType”:”DELETE”}]}

    Thread Starter fvila789

    (@fvilawp)

    (added to the above)
    The 0 is in the admin edit post page, the json text is in the view page

    Can you please check the browser console for any JavaScript error. Seems like there is some conflicts with the theme or the plugins you are using. Can you switch to the default twentyfourteen theme and test it out?

    Thread Starter fvila789

    (@fvilawp)

    Tried with 2014 theme, yes it works!
    However the images don’t seem to be attached to the post: when I edit the post > Add media > Media attached to this post, the list is empty. Is that the expected behavior?

    Currently the images are not attached to the post and its only available to see at the admin section under plugin settings. Will be rolling out a new version soon which will be having the capability to be attached to the post

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘file upload produces json text’ is closed to new replies.