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

Image Tools Plugin - Converting to blob #75

Open
kolbykruger opened this issue Nov 21, 2018 · 0 comments
Open

Image Tools Plugin - Converting to blob #75

kolbykruger opened this issue Nov 21, 2018 · 0 comments
Labels

Comments

@kolbykruger
Copy link

We're having an issue on some of our production sites with the image tools plugin not converting properly to base64 on edit. This ONLY happens when using the initial rotate image buttons. We get an odd conversion where the image path is saved as blob:https://sitename.com/random-characters.

I read on a stackoverflow post that this triggers TinyMCE to convert the image to base64, which works on the front end. On the front end the image is converted properly to base64, however when loading the resource in the backend of MODX that contains the blob:https://sitename.com/random-characters image, the page fails to load 9 times out of 10, and when it successfully loads, it takes 30+ seconds. I have only successfully loaded the page when the devtools inspector is open. This happens on the Chrome, Firefox and Safari from my testing (cannot test IE/Edge).

Below is a screen-cap of our devtools network screen for debugging purposes:

tinymce_load_issue

Baring all other load issues, it seems that TinyMCE and the base64 conversion are causing the bulk of the load times.

I am trying to determine if this is a TinyMCE plugin issue, or if this is a server issue. We have had this happen to multiple sites over the last couple months.

@Ibochkarev Ibochkarev added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants