November Happy Hour will be moved to Thursday December 5th.

ImageVault with XhtmlString in tinyMCE

Vote:
 

Hi,

We have a solution where a page with xhtmlString property can have an images from ImageVault.

Images are getting inserted fine and it is working as expected apart from the alt text which is not getting reflected in xhtml string as attribute the resultant img tag from Image Vault has empty alt attribute and filled in src attribute.

We have alt metadata configured in the image vault for the images, and it has values in it.

/ImageVault/library/GetPublishedMediaItemInformation get all the metadata info for the image from the api call but the resultset alt is empty, eventhough the alt is available in imagevault editor

We are using ImageVault(v 4.7.2) and Episerver (v 8.11).

Any help would be greatly appreciated.

Thanks,

 Rams

#187322
Jan 19, 2018 10:17
Vote:
 

Hi,

I have to inform you that support for setting alt text and title automatically based on metadata has been removed from ImageVault. The reason is that these data is context specific and different usage of the same media is not guaranteed to have the same values. ImageVault 3 had these features and some early version of ImageVault 4.

/Dan

#187664
Jan 31, 2018 10:17
Vote:
 

What is the current approach for making imagevault render the required alt value to its img-element in an xhtmlstring?

#187680
Edited, Jan 31, 2018 15:16
Vote:
 

The workaround we are using is requesting the clinet to edit the html and fill in the alt text, then publish. This is very annoying for users as they have some access rights issues to feed in what value they wanted to go in alt text.

#187681
Jan 31, 2018 15:21
Vote:
 

If you would like to set the alt or title on an image in the xhtmlstring, you can mark the image and use the standard insert/edit Image button. This will display the standard episerver image dialog where you can set the title and image description (alt).

#187711
Feb 01, 2018 8:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.