wordpress-mobile / WordPress-Editor-Android

⛔️ [DEPRECATED] A reusable Android rich text editor component.
GNU General Public License v2.0
188 stars 50 forks source link

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

Open rachelmcr opened 8 years ago

rachelmcr commented 8 years ago

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 commented 8 years ago

This issue was reported again in 125058-h

brechmos commented 7 years ago

Any movement on this? Is there any work around?

rachelmcr commented 7 years ago

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 commented 7 years ago

It's ok with Beta editor. Thank's