Active
Project:
Eye-drop Editor
Version:
5.x-1.x-dev
Component:
JS / HTML
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
8 Jan 2007 at 03:23 UTC
Updated:
8 Feb 2007 at 17:55 UTC
If you look at the test page in CVS, you can see the way the existing information about the image could be transmitted to the image editor. This is done with inputs (hidden or otherwise) which store the information and have ids of the nature: "eyedrop-group-param-x". The javascript can convert these lines to parameters with:
var params = new Array();
$(container).find(".eyedrop-group-param").each( function(i) {
params[this.id.split('-').pop()] = this.value;
});
However this is just one theoretical way of doing it. Another way would be to gather all this information in a callback that can be parsed out of the image id or the image url itself.
Thoughts?
Comments
Comment #1
simeClosing my own stinkin' ticket.