I want to try to resizing images and filters
Posted: Thu Sep 17, 2015 9:16 pm
Hello everyone,
I want to test this configurations on broadleaf commerce demo. I tried to change the value but it will not take effect.
Can anyone explain how this id works and How can i test if it is working when i change the value of it. Please help me to this isssue.
<bean id="blStaticMapNamedOperationComponent" class="org.broadleafcommerce.cms.file.service.operation.StaticMapNamedOperationComponent">
<property name="namedOperations">
<map>
<entry key="browse">
<map>
<entry key="resize-width-amount" value="400"/>
<entry key="resize-height-amount" value="400"/>
<entry key="resize-high-quality" value="false"/>
<entry key="resize-maintain-aspect-ratio" value="true"/>
<entry key="resize-reduce-only" value="true"/>
</map>
</entry>
<entry key="thumbnail">
<map>
<entry key="resize-width-amount" value="60"/>
<entry key="resize-height-amount" value="60"/>
<entry key="resize-high-quality" value="false"/>
<entry key="resize-maintain-aspect-ratio" value="true"/>
<entry key="resize-reduce-only" value="true"/>
</map>
</entry>
</map>
</property>
</bean>
Thank you.
I want to test this configurations on broadleaf commerce demo. I tried to change the value but it will not take effect.
Can anyone explain how this id works and How can i test if it is working when i change the value of it. Please help me to this isssue.
<bean id="blStaticMapNamedOperationComponent" class="org.broadleafcommerce.cms.file.service.operation.StaticMapNamedOperationComponent">
<property name="namedOperations">
<map>
<entry key="browse">
<map>
<entry key="resize-width-amount" value="400"/>
<entry key="resize-height-amount" value="400"/>
<entry key="resize-high-quality" value="false"/>
<entry key="resize-maintain-aspect-ratio" value="true"/>
<entry key="resize-reduce-only" value="true"/>
</map>
</entry>
<entry key="thumbnail">
<map>
<entry key="resize-width-amount" value="60"/>
<entry key="resize-height-amount" value="60"/>
<entry key="resize-high-quality" value="false"/>
<entry key="resize-maintain-aspect-ratio" value="true"/>
<entry key="resize-reduce-only" value="true"/>
</map>
</entry>
</map>
</property>
</bean>
Thank you.