Jump to:

10375 Posts in 2190 Topics by 1707 members

All other Modules

SilverStripe Forums » All other Modules » interactive cropping

Discuss all other Modules here.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3
Go to End
Author Topic: 2978 Views
  • swaiba
    Avatar
    Forum Moderator
    1674 Posts

    Re: interactive cropping Link to this post

    @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...)

  • brice
    Avatar
    Community Member
    50 Posts

    Re: interactive cropping Link to this post

    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
Page: 1 2 3
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.