Automattic / Automattic/WP-Job-Manager

No Thumbnail Preview in Logo/Image Field for Non Logged In User

Open
#1,203 0 comments 0 reactions 0 assignees View on GitHub
[Pri] Normal [Status] Accepted Enhancement
Dominant language
PHP
Stars
899
Forks
369
Avg merge
11h 37m
Merged PRs (30d)
12

Description

#### What I Expected To Happen

Thumbnail (of uploaded image) in Logo field for logged out user (should have the same experience as logged in user)

#### What Happened Instead

No thumbnail and progress bar

#### Steps to Reproduce the Bug

Simply submit listing as non-registered user and upload logo/image.

### Idea

Currently is using ajax to immediately upload and show preview of the image (?)

I just found this (Use FileRender for File Upload):
https://stackoverflow.com/questions/14069421/show-an-image-preview-before-upload

Note: not really sure how it works, never tested it.
I think it's a good upgrade if it's working.

thoughts?

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Reproduce a listing submission while logged out, then trace the logo/image upload UI and compare it with the logged-in flow; done means the uploaded image shows a thumbnail and progress feedback for non-registered users.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.