• Resolved Olahobanjo

    (@olahobanjo)


    In the job submission form, for an upload file field :
    – when logged in, the progress bar and the preview thumbnail is shown
    – when not logged in, they are not shown; the name of the selected image is displayed
    (In both cases, the submission of the job is possible. )
    Why the behavior is different and how to see the progress bar and the preview thumbnail in both cases, please ?
    Thanks for helping.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Olahobanjo

    (@olahobanjo)

    I’ve found in the journal :
    1.26.2
    Fix: Prevents use of Ajax file upload endpoint for visitors who aren’t logged in. Themes should check with job_manager_user_can_upload_file_via_ajax() if using endpoint in templates.

    Could you explain me how to use this function ? Is it possible to authorize the use Ajax file of upload endpoint for visitors who aren’t logged in ?

    Plugin Contributor Jen H. (a11n)

    (@jenhooks)

    Hi @olahobanjo,

    Did you sort this on your own? I am seeing the progress bar when uploading images, as well as the image thumbnail once it is loaded. Screenshot here: https://cld.wthms.co/u7NIlm

    If you haven’t fixed things, per this:

    Themes should check with job_manager_user_can_upload_file_via_ajax() if using endpoint in templates.

    …it is something you will need to work with your theme’s developer to work out.

    Best of luck.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Preview thumbnail of uploaded file’ is closed to new replies.