10375 Posts in 2190 Topics by 1707 members
| Go to End | ||
| Author | Topic: | 2978 Views |
-
Re: interactive cropping

15 October 2011 at 2:27am
@Xananax Prozaxx
I know exactly what you mean - I am ofcourse waiting to see what SS3 brings with it's redeign of the admin section - hopefully this will make cusomization easier.
In my expiernce most things can go into the Pages or DataObject with the use of the LiteralField, then is something still demands complete control I subclass LeftAndMain and then create a template for the left and the main - then treat as a regular page (still use ajax for most things...)
-
Re: interactive cropping

22 August 2012 at 4:32pm
We had this need too. The quickest way was to write a plugin -- as the Pixlr one (once workinging) seemed a bit overkill, and no others appeared.
See https://github.com/briceburg/silverstripe-uploaldify-jcrop
It gives you a "crop" button next to detach / delete permananetly in the Uploadify form, and loads a JCrop enabled image that's scaled to the modal when clicked.
WARNING; this has been only tested with a DataObjectManager popup under SilverStipe 2.4 and also has an issue where the browser caches the CMSThumbnail && doesn't instantly show you the cropped image for in.
Hope other SSers find it useful.
| 2978 Views | ||
| Go to Top |


