JCrop integration for wicket

2012-07-23 Thread procrastinative.developer
Hello, 

If anyone want to use Jcrop (http://deepliquid.com/content/Jcrop.html -
Image cropping tool written in Js) with wicket application please try my
first standalone component:
https://github.com/procrastinativedeveloper/jcrop-wicket-integration

This project is based on wicket6-beta3. 
Examples showing api usage etc. (jetty:run)

This is my *first* open source contribiution so I will be really glad if
some specialist take a look on the code and give me advices which part 
could be done better. 

I use JCrop version 0.9.9  because, I found some issues on ie9 with 0.9.10. 
*My integration allow to:*
-pick up part of given image,
-configure opacity and mask color,
-scale widht or height, 
-generate preview,
-select some area on start,
-setting aspect ratio of selection

*TODO:*
-give possibility to call j_api from serverside
-fluent interfaces on settings,
-move hardcoded js to template files, 
-documentation on GitHub





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/JCrop-integration-for-wicket-tp4650740.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: JCrop integration for wicket

2012-07-23 Thread procrastinative.developer
I forgot mention that I based my work on
https://code.google.com/p/londonwicket/source/browse/trunk/Apps/Gallery/src/main/java/org/londonwicket/cropper/CroppableImage.java
(very good code)

Funniest thing is that I wrote  this component in 2 days and next 2 days I
fought with IE issues :). 

Code was tested on Google Chrome, Firefox 15, IE 9.  



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/JCrop-integration-for-wicket-tp4650740p4650742.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org