cq5 - How does page.thumb.319.319.png get resolved in Adobe AEM? -
i can't seem figure out how adobe aem (formerly cq) resolving thumb url.
given following url:
/content/geometrixx-outdoors/en.thumb.319.319.png
"en" reference content relies on geometrixx-outdoors/components/page_home
sling:resourcetype.
"thumb", "319" , "319" selectors, component "page_home" not have matching jsp such thumb.png.jsp handle request.
page_home inherits geometrixx-outdoors/components/page
in turn inherits foundation/components/page
. later has jsp called thumbnail.jpg.jsp
isn't match either.
then there strange directory (i.e., isn't component) called /libs/foundation/components/primary/cq/page
find thumb.png.jsp
. according logging added, script participating in request; though not sure how. includes proxy.jsp includes jcr:content node.
i suspect including jcr:content means call to:
/content/info-site/en/_jcr_content.thumb.319.319.png
at point, unclear happens. seems default get.java must kick in or something. however, can't find _jcr_content.png.jsp
or png.get.java
. there class @ /var/classes/org/apache/jsp/libs/foundation/components/primary/cq/page/thumb_png_jsp.java
looks work, not sure how gets called.
edit: realized /var/classes/org/apache/jsp/libs/foundation/components/primary/cq/page/thumb_png_jsp.java
compiled version of aforementioned thumb.png.jsp
guess dead end.
it resolved not through jsp through com.day.cq.wcm.core.impl.servlets.thumbnailservlet servlet component.
this servlet registered respond sling/servlet/default resourcetype , thumb selector. respond request selector.
you can in component list of osgi web console
Comments
Post a Comment