Letractively / magento-w2p

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

New coordinates #656

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
From the original issue:

Template for testing: 
http://d1.zetaprints.com/mageimage/index.php/magentot-01/1pg-template.html

TemplateID="6443E134-4CD1-4D33-841D-1636502671A4" 

Use koala.png (attached to the e-mail)
image-edit.png is a screenshot of an image-editor.

Coodrdinates from system.log:
'cr-x1=0;cr-x2=1;cr-y1=0;cr-y2=1;x1=0.510967046381353;y1=0.6317095022624435;x2=0
.42037693649124314;y2=0.587350226244344;img-id='
Put your img-id in there.

== CHANGES ==

1. replace x1,x2,y1,y2 with abs-x1, abs-y1, etc. There is confusion with other 
x1/y1 params.

2. correct the values as discussed so they read
abs-x1=0.2111838755446214;abs-y1=0.3755511111111111;abs-x2=0.4249807986215445;ab
s-y2=0.5938017777777779;img-id=

3. u must validate x2>x1, y2>y1 or the params will be ignored

Original issue reported on code.google.com by ad...@zetaprints.com on 21 Sep 2011 at 5:59

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by Anatoly....@gmail.com on 30 Sep 2011 at 6:44

GoogleCodeExporter commented 8 years ago
Please, test it. Coords are calculated correctly now and you should get proper 
preview image.

Original comment by Anatoly....@gmail.com on 30 Sep 2011 at 11:19

GoogleCodeExporter commented 8 years ago
Don't forget to enable image editing throw options file.

Original comment by Anatoly....@gmail.com on 30 Sep 2011 at 11:20

GoogleCodeExporter commented 8 years ago
What exactly am I testing here?
I'm getting weird results (img_edit_01.png), FitInField was active by 
default... before I go on, what am I testing for this particular issue?

Original comment by agur...@gmail.com on 3 Oct 2011 at 6:52

Attachments:

GoogleCodeExporter commented 8 years ago
We can't really test it because everything else is broken, but I suspect this 
part works. Will just flag it as done for now.

Original comment by ad...@zetaprints.com on 4 Oct 2011 at 2:13