image_upload - Custom Field - does not display uploaded image in mobile devices

Support MB Frontend Submission image_upload - Custom Field - does not display uploaded image in mobile devicesResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #44108
    CodogCodog
    Participant

    Hi there,
    I have an MB frontend submission form where users (subscribers), when logged in can submit a post. This form contains a 'type' => 'image_upload' field. This field works perfectly fine on desktop devices and in multiple browsers, but in mobile devices the uploaded image never displays in the UI? What I see instead is a "Question Mark" image icon?

    See Image here - https://prnt.sc/bSqUK2uxc_gk.

    This screenshot was taken in IOS(17.1.2) Safari but you get the same result in IOS(17.1.2) Chrome etc...

    I see no errors in my debug output related to this problem (WP_DEBUG, PHP, Console, Query Monitor)?

    I look forward to your response.

    #44117
    PeterPeter
    Moderator

    Hello,

    I don't see that issue on my demo site, here is the screenshot https://imgur.com/oiQEvKY

    You can try to deactivate all plugins except Meta Box, MB extension plugins, switch to a WordPress theme and check this again.

    #44126
    CodogCodog
    Participant

    Hi Peter,
    thanks for your response. I can confirm that in a LIVE env the 'upload_image' custom field does show the post thumbnail as expected.

    This is clearly a local development env issue! And not plugin or theme related. I use NPM to compile my builds + BrowserSync to proxy my local Dev URL's so I can test locally on mobile devices (EG: localhost:3000/mysite).

    I am wondering what might be causing this issue (locally) as it would be very useful for this feature to be working locally for development? Any thoughts?

    How do you guys test locally on mobile?

    Any info would be useful?

    #44138
    PeterPeter
    Moderator

    Hello,

    I've tested on an online staging site (fresh installation) and a real mobile, not a local site. I'm not sure what's wrong with your local site but glad to hear it works on the live site.

    #44144
    CodogCodog
    Participant

    Hey no worries Peter, I sussed out the problem in the end. Thanks for your time!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.