Skip to content

Image Tools Plugin - Converting to blob #75

Open

Description

@kolbykruger

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions