Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to edit images in Media (private sites) #17493

Closed
ehti opened this issue Aug 24, 2017 · 3 comments
Closed

Unable to edit images in Media (private sites) #17493

ehti opened this issue Aug 24, 2017 · 3 comments
Labels
[Feature] Media The media screen in Calypso, general media management, or integration with third party media. [Type] Bug When a feature is broken and / or not performing as intended

Comments

@ehti
Copy link

ehti commented Aug 24, 2017

Steps to reproduce

  1. Starting at URL: wordpress.com/media/{site}
  2. Click an image - then the blue "edit" button
  3. Once the image opens, click "Edit image"

*site should be private

What I expected

Image should load, allowing you to crop, rotate etc.

What happened instead

Image doesn't load, and this error is returned:

Sorry, there was a problem loading the image. Please close this editor and try selecting the image again.

JavaScript console output:

XMLHttpRequest cannot load https://merilab.files.wordpress.com/2017/04/domains-coming-soon3.jpg?. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://wordpress.com' is therefore not allowed access. The response had HTTP status code 403.

The URL will be the one for your image, in the above output.

Browser / OS version

Chrome latest

Screenshot / Video

image-edit

Context / Source

#manual-testing #user-report

@ehti ehti added [Feature] Media The media screen in Calypso, general media management, or integration with third party media. [Type] Bug When a feature is broken and / or not performing as intended labels Aug 24, 2017
@bperson
Copy link
Contributor

bperson commented Aug 24, 2017

Confirmed on a private site ( getting a 403 on the file even though I own the site ), working fine on public sites.

@ehti ehti changed the title Unable to edit images in Media Unable to edit images in Media (private sites) Aug 24, 2017
@ehti
Copy link
Author

ehti commented Aug 24, 2017

Thanks @bperson - private site was the missing puzzle. Edited the description.

@ehti
Copy link
Author

ehti commented Aug 24, 2017

dupe - #17347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Media The media screen in Calypso, general media management, or integration with third party media. [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

No branches or pull requests

2 participants