Odd issue... Uploading an image on a phone/lower resolution will not work

General Discussion
  • Hi all,

    I have set up nodebb on digital ocean and it all seems to be working correctly and it's rather sweet but only fully functional in a full size browser! Address is www.pudyut.com and it's all in Thai.

    If I am on a phone, or a tablet in portrait or change the view port of chrome to be phone screen size then when i click new post or reply, see the compose screen and try to upload an image (using the same upload button you have here) then nothing happens. The image processing upload text is not shown and the image is not uploaded.

    I have the imgur upload setup and this works perfectly in a browser at full size or big enough to see the preview essentially.

    I tested the upload on this site using a shrunk down view port and it works so there must be something wrong with my setup/installation but there is nothing reported in regard to this in the f12 dev tools in either chrome or ie when this happens.

    I do have an error "WebSocket connection to 'ws://www.pudyut.com/socket.io/?EIO=3&transport=websocket&sid=LzApmty4LVZ79b_ZAAEW' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET" but that is there all the time from my PC and I read could be ISP related and my friends don't see this error using different ISPs.

    Any suggestions/help would be really appreciated. I expect a lot of my users to be phone based and images to be rather important.



  • I think we fixed this on master, but it wasn't backported to 0.7.x. I just fixed it on 0.7.x as well let me know after you update.


  • What @baris said, +1

  • Thanks ever so much, that is awesome...

    I just put the update in the relevant file and it's sorted.

    Much appreciated.



Suggested Topics