Question

We have upgraded from Sitecore 6.5 to 6.6, and after the upgrade we have images throughout the site which are now showing up with ugly black boxes around them.

Changing the Media.DefaultImageBackgroundColor and Media.UseLegacyResizing options does nothing. I mention the former only as an extra hint that caching may be involved somehow. Changing the settings on image fields, restarting the app pool and website, etc. does nothing to solve this problem.

Has anyone found this problem when upgrading to Sitecore 6.6? Any idea as to the cause or fix?

Was it helpful?

Solution

Is the box around the entire image, or just top/bottom or left/right? If the latter, then is the height/width dimensions you have provided in the same scale as the original image?

Is not either set AllowStretch to true (pass in as=true) or use MaxHeight/MaxWidth parameters instead (pass in mh=182 and mw=116) which will scale the image appropriately if needed.

This is a bit old, but the parameters should be the same... Sitecore Image Parameters

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top