uujgii / web-to-print-scripts

Automatically exported from code.google.com/p/web-to-print-scripts
0 stars 0 forks source link

Image moving prototype #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We need to prototype image moving feature.

Every preview page has a <map> with some (incorrect) values. This will be
fixed. 0,0 is bottom left, 1,1 is top right. Anything between that is the
position of a text or image field on the preview.

Expected behavior.
When a user clicks on a text or image field the preview highlights the area
where the field appears using values from <map>. A currently selected image
for the image field (if any) needs to go over the preview with a bit of
transparency. The user can move or crop the image in the context of the
preview and within the boundaries of the placeholder. The boundaries are in
<map>.

At the moment <map> is broken. Grab one template and hard-code some <map>
values in there until we fix it. Won't be long.

This is only a prototype. We want to see how it may work.

Original issue reported on code.google.com by zetapri...@gmail.com on 4 Apr 2010 at 11:24

GoogleCodeExporter commented 9 years ago
MAP was fixed, but the old templates need to be re-indexed.
Use these 2 for testing:
http://magento.zetaprints.com/?page=templatexml;TemplateID=E1F8E255-0565-4D26-A5
2B-1B29D8B8454F

http://realestate.zetaprints.com/?page=template-xml;TemplateID=252E2BBB-A1EA-4BF
5-BECB-3641874487CD

The HTML pages have MAP and the XML has Shapes/Shape. Name (title) correspond 
to the
field name. It doesn't differentiate between image and text fields of the same 
name yet.

Original comment by zetapri...@gmail.com on 5 Apr 2010 at 11:12

GoogleCodeExporter commented 9 years ago
Step one of this task is to highlight shapes on the preview when the field is 
in focus. 

Original comment by zetapri...@gmail.com on 5 Apr 2010 at 11:14

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 12 May 2010 at 10:30