guidomeulendijks / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

PowerClip flag for image fields #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Images behave differently in a power clip vs a simple placeholder.
There should be a flag in the XML feed telling one from the other.

Original issue reported on code.google.com by zetapri...@gmail.com on 18 May 2010 at 8:33

GoogleCodeExporter commented 9 years ago
We added attribute Clipped=1 for images inside a powerclip.

Example

<Image Name="Image" Width="309" Height="327" Page="1" ColourPicker="CMYK" 
AllowUpload="1" AllowUrl="1" Clipped="1" Value="#000000000000"/>

Original comment by zetapri...@gmail.com on 22 Jun 2010 at 11:16

GoogleCodeExporter commented 9 years ago
Not sure how this needs to be tested.
It's really a pre-requisite for contextual image editing.
I guess we are happy as long as it appears in the XML.
Only the re-processed catalog will have this flag.

Images not in powerclip have no Cipped attribute.

Original comment by zetapri...@gmail.com on 22 Jun 2010 at 11:17

GoogleCodeExporter commented 9 years ago
Created two products for this testing. Will need more detailed instructions 
though. Where should I see this flag?

PowerClip:
http://ec2-174-129-95-130.compute-1.amazonaws.com/magento/index.php/testing/imag
e-inside-a-powerclip.html?SID=4o2nli4c1m05qkocc5ut4rhlv1

No PowerClip:
http://ec2-174-129-95-130.compute-1.amazonaws.com/magento/index.php/testing/simp
le-image-placeholder.html?SID=4o2nli4c1m05qkocc5ut4rhlv1

Original comment by agur...@gmail.com on 25 Jun 2010 at 12:39

GoogleCodeExporter commented 9 years ago
This one will be tested when we start implementing image shift/crop/resize.
The products you created are perfect for testing that new feature.

Original comment by zetapri...@gmail.com on 25 Jun 2010 at 10:51