Articulate icon indicating copy to clipboard operation
Articulate copied to clipboard

Fix Culture Varying Blog Page not returning BlogLogo in GetArticulateCropUrl

Open marcemarc opened this issue 2 years ago • 0 comments

When the Blog page varies by culture... GetArticulateCropUrl only returns blogBanner image property.

Looks like the GetArticulateCropUrl is called in two places in the MasterModel.cs, once for "blogLogo" and then another time for "blogBanner"

image

if the page doesn't vary by culture, all is ok the GetCropUrl is called with the appropriate propertyalias variable passed in....

... but in the circumstance that the page does vary by culture it seems hardcoded to only use the "blogBanner"...

image

this tweak means the propertyalias variable passed in will be used, and it will return the appropriate image...

marcemarc avatar Sep 30 '22 10:09 marcemarc