Start a new topic

Issue when inserting new media via Episerver RichTextEditor

We have upgraded our Episerver instance recently to the latest version, and with this also updated the ImageVault plugin for Episerver to version 11.7.

Our ImageVault installation remained on the same version (5.5.183).

We first encountered issues with inserting media in Episerver via the image properties, but this was resolved when upgrading the ImageVault for Episerver plugin to version 11.7 SP1. Concludiing that this was probably caused by the fact that our instance of ImageVault doesn't support AreaOfInterest yet.


So we thought everything was OK, but we now encountered a similar issue when trying to insert media in a RichTextArea property on an Episerver page.

Could this be caused by the same problem that we have an ImageVault installation that doesn't support AreaOfInterest yet?


When clicking the button "Insert ImageVault media" in the TinyMCE editor, the ImageVault popup shows as expected, but when selecting an image and clicking the "Insert" button, nothing happens..

1 Comment

Additional information: 

The last http call in the Chrome Developer tools window is a call to the following URL: imagevault/library/GetInsertMediaInformation

The response is an 200 OK with the JSON below, after this nothing happens anymore:

 

{
  "Id": 6238,
  "VaultId": 3,
  "Name": "IMG_1162.jpg",
  "CanBeDownloaded": null,
  "MediaConversions": [
    {
      "Width": 800,
      "Height": 600,
      "AspectRatio": 1.3333333333333333,
      "FormatWidth": 800,
      "FormatHeight": 0,
      "FormatAspectRatio": 0.0,
      "MediaFormatName": "JPEG (low res)",
      "Id": 6238,
      "MediaFormatId": 8,
      "Url": "/imagevault/media/k4ilord6095rylvhkikf/IMG_1162.jpg",
      "ContentDisplayType": 0,
      "Html": "<img src=\"/imagevault/media/k4ilord6095rylvhkikf/IMG_1162.jpg\" width=\"800\" height=\"600\" alt=\"\" />",
      "ContentType": "image/jpeg",
      "Name": "IMG_1162.jpg",
      "DisplayInformation": null,
      "IsFileIcon": false
    },
    {
      "Width": 2016,
      "Height": 1512,
      "AspectRatio": 1.3333333333333333,
      "FormatWidth": 0,
      "FormatHeight": 0,
      "FormatAspectRatio": 0.0,
      "MediaFormatName": "Original",
      "Id": 6238,
      "MediaFormatId": 1,
      "Url": "/imagevault/media/9pp68yq6ng8sab4trlok/IMG_1162.jpg",
      "ContentDisplayType": 0,
      "Html": "<a href=\"/imagevault/media/9pp68yq6ng8sab4trlok/IMG_1162.jpg\">IMG_1162.jpg</a>",
      "ContentType": "image/jpeg",
      "Name": "IMG_1162.jpg",
      "DisplayInformation": null,
      "IsFileIcon": false
    }
  ],
  "Metadata": null,
  "Categories": null,
  "PublishInformation": null,
  "DateAdded": "2020-04-09T16:42:21.713",
  "Access": 0,
  "AddedBy": "removed",
  "Shared": null,
  "DuplicateMediaItemId": null,
  "DuplicateVersionId": null,
  "CurrentVersionId": 5266,
  "VersionId": 5266,
  "MediaVersion": null
}

 

Login or Signup to post a comment