U4-6783 - Grid Layout media editor alternative text doesn't work.

Created by Rasmus Eeg Møller 02 Jul 2015, 13:20:54 Updated by Rasmus Eeg Møller 02 Jul 2015, 14:01:02

Steps to reproduce

  1. Add Media item to grid layout.
  2. Pick your image
  3. Fill in your alternative text.
  4. Save-and-publish

I would have the alternative text appear in the code on frontend. But the media.cshtml doesn't have the altText value, that you would expect on the model.value.

Look at the code, should look like, and include: name, and altText.

$scope.control.value = {
    focalPoint: data.focalPoint,
    id: data.id,
    image: data.image,
    altText: data.altText,
    name: data.name
};
```


 

Comments

Rasmus Eeg Møller 02 Jul 2015, 13:44:16

https://github.com/umbraco/Umbraco-CMS/pull/739


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category: Editor

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions:

Due in version: 7.3.0

Sprint:

Story Points:

Cycle: