Expand Minimize

Do not deploy Images to LAYOUTS folder

Do not deploy Images to LAYOUTS folder. Deploy to IMAGES folder instead.

CheckId SPC060401
TypeName DoNotDeployImagesToLayouts
Severity Warning
Type TemplateFile

Change the deployment location of the TemplateFile so that images (like .gif, .jpg, .png) are deployed to /TEMPLATES/IMAGES or a folder with locale id (/TEMPLATES/LAYOUTS/1033/IMAGES) and are available via URL '/_layouts/images/'.

Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.