Hi @rohankalra you can use javascript use api to check if the resource exist or not.1. create a js file in same component where your AEM sightly code is.use below "use strict";
use(["/libs/wcm/foundation/components/utils/ResourceUtils.js"], function (ResourceUtils) {
var path=this.pngpath;
Reso...