You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is similar to issue #119.
The difference that problem causes when we using Src property of Glass.Mapper.Sc.Fields.Image class and render the page.
I discover that we can't get correct media content bases on Context.Language.
The problem related to SitecoreFieldImageMapper class in MapToImage method.
Suggested solution (in issue #119) within specifying MediaOptions and pull it in method call will resolve the problem:
img.Src = MediaManager.GetMediaUrl(field.MediaItem, OPTIONS);
Do you have any updates with this?
The text was updated successfully, but these errors were encountered:
I think I remember working on something to do with this on a version of Sitecore. It was reported as a Glass issue, but then I proved that the options were ignored by sitecore on certain overloads?
The problem is similar to issue #119.
The difference that problem causes when we using Src property of Glass.Mapper.Sc.Fields.Image class and render the page.
I discover that we can't get correct media content bases on Context.Language.
The problem related to SitecoreFieldImageMapper class in MapToImage method.
Suggested solution (in issue #119) within specifying MediaOptions and pull it in method call will resolve the problem:
img.Src = MediaManager.GetMediaUrl(field.MediaItem, OPTIONS);
Do you have any updates with this?
The text was updated successfully, but these errors were encountered: