Bug with Uploading Image via Media Tab

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gene THF
    New Member
    • Jan 2019
    • 27
    • 5.3.x

    Bug with Uploading Image via Media Tab

    Hello,

    Right now on TinyHouseForum.com, if you attempt to upload an image on the Media Tab, if you hit the Upload button it brings up a dialog to select an image. If you select any decently sized image (bigger than 600x600) and try to upload it, you get this error.

    Click image for larger version

Name:	Screen Shot 2019-04-05 at 6.54.07 PM.jpeg
Views:	190
Size:	86.7 KB
ID:	4412460




    However, if you close out the error message popup, hit Upload again, and go through the same process - the same image will upload correctly.

    Click image for larger version

Name:	working_upload.jpg
Views:	95
Size:	127.5 KB
ID:	4412462





    We've also gotten this error message...

    Click image for larger version

Name:	Screen Shot 2019-04-05 at 7.12.13 PM.jpeg
Views:	101
Size:	38.6 KB
ID:	4412461


    However, this is critical if you hit "Cancel" on that dialog, and then hit Upload again, and try uploading the image you'l get the error again. So it seems to be somehow tied to the intiation of that dialog file uploader box/popup.




    Any ideas why it works on a second attempt in the same dialog window?



    Thanks!


    -------------------------------------

    Gene M.
    Tiny House Forum
    Design & Development
    [email protected]
  • Gene THF
    New Member
    • Jan 2019
    • 27
    • 5.3.x

    #2
    Does anyone know if the image verification checks are done via JS or PHP? Is the server sending the error message response back or is it all done client side?

    -------------------------------------

    Gene M.
    Tiny House Forum
    Design & Development
    [email protected]

    Comment

    • glennrocksvb
      Former vBulletin Developer
      • Mar 2011
      • 4021
      • 5.7.X

      #3
      It is done server-side.

      Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74149

        #4
        Image Manipulation is done via PHP because we cannot trust Javascript or User Input. I answered your ticket on this issue.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        Related Topics

        Collapse

        Working...