When I go to design mode and update the logo image, the image displayed is quite small as compared to its original size. Also if I clear the new uploaded logo image, then it displays the default logo rather than displaying a blank image. Can anyone let me know how is that working?
I have also gone though the link below, but didn't find my answer:
https://helpx.adobe.com/experience-manager/using/creating-logo.html
Solved! Go to Solution.
Views
Replies
Total Likes
Look at the code here:
http://localhost:4502/crx/de/index.jsp#/libs/foundation/components/logo/img.GET.java
// get style and set constraints
image.set(Image.PN_MIN_WIDTH, c.properties.get("minWidth", ""));
image.set(Image.PN_MIN_HEIGHT, c.properties.get("minHeight", ""));
image.set(Image.PN_MAX_WIDTH, c.properties.get("maxWidth", ""));
image.set(Image.PN_MAX_HEIGHT, c.properties.get("maxHeight", ""));
The image is driven by these values.
Views
Replies
Total Likes
Look at the code here:
http://localhost:4502/crx/de/index.jsp#/libs/foundation/components/logo/img.GET.java
// get style and set constraints
image.set(Image.PN_MIN_WIDTH, c.properties.get("minWidth", ""));
image.set(Image.PN_MIN_HEIGHT, c.properties.get("minHeight", ""));
image.set(Image.PN_MAX_WIDTH, c.properties.get("maxWidth", ""));
image.set(Image.PN_MAX_HEIGHT, c.properties.get("maxHeight", ""));
The image is driven by these values.
Views
Replies
Total Likes