tag:blogger.com,1999:blog-206145551100712277.post659081693230163165..comments2024-03-25T11:47:58.644-05:00Comments on Experiencing Adobe Experience Manager (AEM, CQ): HTML 5 Smart Image Component Custom Aspect Ratiossreekanth choudryhttp://www.blogger.com/profile/15578091428034329691noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-206145551100712277.post-63748005866611271692016-03-01T06:25:33.225-06:002016-03-01T06:25:33.225-06:00hi in the touch ui, we have pre define list of asp...hi in the touch ui, we have pre define list of aspect ratio but how do we add custom aspect ratios to itRajahttps://www.blogger.com/profile/08233939980228540043noreply@blogger.comtag:blogger.com,1999:blog-206145551100712277.post-3833935560607035582014-08-26T19:22:17.432-05:002014-08-26T19:22:17.432-05:00yes! I have it just like the screenshot, I'm u...yes! I have it just like the screenshot, I'm using CQ 5.6.1 could that be a problem? I'm debugging the JS and everything looks fine, at least in the constructor the config has all the crop options. MyClientLib.Html5SmartImage.superclass.constructor.call(this, config);<br /><br />In the 'loadimage' and 'contentchange' functions, this line var aRatios = userInterface.aspectRatioMenu.findByType("menucheckitem"); always returns an array with only the free crop option.Anonymoushttps://www.blogger.com/profile/09089307424406869530noreply@blogger.comtag:blogger.com,1999:blog-206145551100712277.post-750200746828578902014-08-26T16:39:19.936-05:002014-08-26T16:39:19.936-05:00hello Sebastian, have you specified the custom asp...hello Sebastian, have you specified the custom aspect ratios in /apps/imagecustomar/image/dialog/items/img ( check the last screenshot in blog post above)sreekanth choudryhttps://www.blogger.com/profile/15578091428034329691noreply@blogger.comtag:blogger.com,1999:blog-206145551100712277.post-42134072762696575642014-08-25T18:16:56.674-05:002014-08-25T18:16:56.674-05:00Hi sreekanth this is a very interesting component ...Hi sreekanth this is a very interesting component and is just what I need, but I'm having troubles to make it work. basically the "Image crop tools" menu only shows the "Free crop" option, and because the "getCropKey" function return null for "Free crop" everything starts to fail. Do you know what could be happening that the crop menu is not being populated with the other crop options?Anonymoushttps://www.blogger.com/profile/09089307424406869530noreply@blogger.comtag:blogger.com,1999:blog-206145551100712277.post-40107422921419333092014-03-29T03:22:22.278-05:002014-03-29T03:22:22.278-05:00Thank you so much! This is exactly what I was look...Thank you so much! This is exactly what I was looking for!Anonymoushttps://www.blogger.com/profile/02980022399287744773noreply@blogger.comtag:blogger.com,1999:blog-206145551100712277.post-24970539293507829562014-03-28T18:37:29.910-05:002014-03-28T18:37:29.910-05:00Andrii, do you mean preserving the existing maps w...Andrii, do you mean preserving the existing maps when new image is uploaded? http://experience-aem.blogspot.com/2014/03/aem-cq-56-html5smarimage-save-existing-image-maps.htmlsreekanth choudryhttps://www.blogger.com/profile/15578091428034329691noreply@blogger.comtag:blogger.com,1999:blog-206145551100712277.post-55723376485874621772014-03-28T14:37:23.647-05:002014-03-28T14:37:23.647-05:00Very interesting. I need to add functionality wher...Very interesting. I need to add functionality where when you upload a new image will be saved maps that were imposed on the old image. Is this possible and if so, where can I get information? I would be grateful for any informations.Anonymoushttps://www.blogger.com/profile/02980022399287744773noreply@blogger.com