Article

Images inserted in content are not displayed correctly.

« Go Back

Information

 
Article Number000071871
EnvironmentProduct: Sitefinity
Version: 7.2
OS: All
Database: Microsoft SQL Server 2012 SP2
Question/Problem Description
Images inserted in content are not displayed correctly.
Steps to Reproduce
Clarifying Information

In Sitefinity Build 7.2.5320.0 (Hotfix2) we introduced a change to the thumbnails  hash algorithm by switching it from MD5 to SHA1. This breaks the thumbnails in cases where  custom crop size is used and EnableImageUrlSignatureTitle is set to true in the configurations.

When upgrading from version lower than 7.2 Hotfix 2, the hash algorithm will be set to the old format MD5 and the thumbnails will be resolved properly.

New installations of 7.2 and later will use the SHA1 algorithm.

Error Message
Defect/Enhancement Number
Cause

In Sitefinity Build 7.2.5320.0 (Hotfix2) we introduced a change to the thumbnails  hash algorithm by switching it from MD5 to SHA1.

Resolution

From internal build 7.3.5613 configuration for the hash algorithms is supported.  Switching between them is done through the backend configurations(Settings -> Advanced -> Libraries -> Images -> Image URL Signature hash algorithm)  or by editing the LibrariesConfig.config ( App_Data/Sitefinity/Configuration).

If Images are generated with one of the hash format and then the algorithm is switched the thumbnails will be broken. In this case,  recreate your thumbnails or set enableMultipleHashAlgorithmsSupport =”true” that will check if the hash is valid for both algorithms SHA1 and MD5.

There is option to use both the algorithms in case of thumbnails generated between 7.2 Hotfix 2 and 7.3 release.

The option is not visible in the UI and can be applied  only through LibrariesConfig.config ( App_Data/Sitefinity/Configuration) by setting enableMultipleHashAlgorithmsSupport  =”true”

In this case the thumbnails do not need to be recreated. 

Workaround
Notes
Attachment 
Last Modified Date7/18/2016 8:39 PM


Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025