Adding a custom thumbnail to Adobe AEM project
De Basef
Revisão de 20h28min de 2 de abril de 2018 por Admin (discussão | contribs) (Criou página com ''''1) Create a picture named thumbnail.png.''' The recommended dimensions are 64 x 64 pixels. '''2) Place the thumbnail in the vault definition folder.''' Location: wknd-...')
1) Create a picture named thumbnail.png. The recommended dimensions are 64 x 64 pixels.
2) Place the thumbnail in the vault definition folder.
Location: wknd-sites-guide/ui.apps/src/main/content/META-INF/vault/definition
3) Update the ui.apps pom.xml to include the definition folder.
When building the package the maven content-package plugin will compile the files and folders inside the ui.apps project into an AEM package. You can direct it to use the custom thumbnail by updating the <build> tag in the ui.apps/pom.xml
<build> <resources> ... <resource> <directory>src/main/content/META-INF/vault/definition</directory> <targetPath>../vault-work/META-INF/vault/definition</targetPath> </resource> ... </resources> </build> '''4) Deploy you AEM package.'''