Expand my Community achievements bar.

SOLVED

How do you to change/clear template thumbnails?

Avatar

Level 4

We are using 6.3. We were using Classic UI, and we are making the transition to Touch UI.

One of our static templates uses a thumbnail file. In Touch UI, on the sites.html page to select content (http://localhost:4502/sites.html/content), all the pages using that template automatically show up with that template's thumbnail.

We changed the thumbnail.png file for that template. The change is reflected with the content creation, when selecting the template, but all the pages using that template still have the old thumbnail image show on the sites page.

How can the old thumbnails be cleared out so the page use the new one?

1 Accepted Solution

Avatar

Correct answer by
Level 4

Thank you for the advice - I appreciate the replies.

Even though those options didn't fix it, I have figured it out. It's not about recompiling the jsp or java. It's on the thumbnail.png node. After the thumbnail.png is uploaded and used in the UI, AEM automatically generates different sized thumbnails, stored in thumbnail.png/jcr:content/dam:thumbnails.

1735246_pastedImage_5.png

Even though the parent thumbnail.png is updated, these are remaining the same. The way to clear them out is to go into crx/de and delete the dam:thumbnails folder. Then the next time thumbnail is used in the UI, it will be recreated with new images in it.

View solution in original post

3 Replies

Avatar

Community Advisor

It might be some caching issue, did you try clearing libs jsp cache (/system/console/slingjsp) and also jsp cache under Apache Sling Commons FileSystem ClassLoaderorg.apache.sling.commons.fsclassloader (/data/classes/org/apache/jsp/libs)

Avatar

Correct answer by
Level 4

Thank you for the advice - I appreciate the replies.

Even though those options didn't fix it, I have figured it out. It's not about recompiling the jsp or java. It's on the thumbnail.png node. After the thumbnail.png is uploaded and used in the UI, AEM automatically generates different sized thumbnails, stored in thumbnail.png/jcr:content/dam:thumbnails.

1735246_pastedImage_5.png

Even though the parent thumbnail.png is updated, these are remaining the same. The way to clear them out is to go into crx/de and delete the dam:thumbnails folder. Then the next time thumbnail is used in the UI, it will be recreated with new images in it.