Details
-
New Article
-
Status: Closed
-
Minor
-
Resolution: Reorganized
-
None
-
None
-
User
Description
Flagged by jorge.diaz
Article Link: https://help.liferay.com/hc/en-us/articles/360018669451-Regenerating-Thumbnails-and-Previews-in-DXP-7-0
3. Click Execute next to the Reset preview and thumbnail files for Documents and Media.
Comments:
This article is not correct, the "Reset preview and thumbnail files for Documents and Media" doesn't regenerate them, it just delete the existing files.
The files will be regenerated in background the next time they are requested by a final user.
The correct behavior is explained here: https://help.liferay.com/hc/es/articles/360033715831-What-is-the-significance-of-Reset-preview-and-thumbnail-file-for-Documents-and-Media-option-
The related code to this functionality is here:
- https://github.com/liferay/liferay-portal/blob/9c08097e8ee388b26da023e243b2784369e56df9/modules/apps/server/server-admin-web/src/main/resources/META-INF/resources/resources.jsp#L243-L251
- https://github.com/liferay/liferay-portal/blob/9c08097e8ee388b26da023e243b2784369e56df9/modules/apps/server/server-admin-web/src/main/java/com/liferay/server/admin/web/internal/portlet/action/EditServerMVCActionCommand.java#L192-L194