Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

Media: Images added on sites with basic auth are broken and have 0 px width and height #444

Open
rachelmcr opened this issue Aug 9, 2016 · 4 comments

Comments

@rachelmcr
Copy link
Member

Expected behavior

I expect to be able to create new posts and add media to them, even on sites with basic HTTP auth.

Actual behavior

If my site has basic HTTP auth, when I add an image to a post it appears broken in the editor. It is also added with width="0" and height="0" parameters in the source, so the image also doesn't appear on the published post on my site.

Steps to reproduce

  1. Log in to a site with basic HTTP auth
  2. Start a new post
  3. Upload a photo from the gallery
  4. View the image in visual and HTML mode in the editor

Result: In visual mode the image is broken, and in HTML mode you can see the 0 pixel width and height for the image.

Tested on Nexus 9, Android 6.0.1, WPAndroid alpha-19
Originally reported in 120623-h
@rachelmcr
Copy link
Member Author

This issue was reported again in 125058-h

@brechmos
Copy link

brechmos commented Nov 6, 2016

Any movement on this? Is there any work around?

@rachelmcr
Copy link
Member Author

As a workaround, you can switch to HTML mode and edit the image width and height manually. The image still appears broken in the editor but will appear in the published post on the site.

@LiloBzH
Copy link

LiloBzH commented Aug 15, 2017

It's ok with Beta editor. Thank's

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants