Jump to content
Search Community

Recommended Posts

Posted

Hello,

 

I have to say that the transform manager is wonderful plugin that meets my expectations and needs except for one thing.

 

In my application people will be given the ability to move, scale and rotate images, but they should also be able to zoom in or out the images without affecting the width and height of the selected item.

 

Also, I need to store this information in a database.

 

How can I do this with the Transform Manager?

 

Thank you.

Posted

Glad to hear you're [mostly] enjoying TransformManager.

 

As for zooming, I'm not quite sure what you mean - how could you zoom while keeping the width/height the same? Are you saying you'd want to mask the image using its original dimensions and blow up the inside? Do you have an example (URL or image)?

Posted

Ah, I see. Well, you're right - that functionality isn't built into TransformManager in exactly the way you might want it implemented, but there is a Crop class that you might find very useful. Have you seen it? There's a little demo toward the bottom of the main TransformManager page at http://www.greensock.com/transformmanageras3/ and in the download zip. Basically it allows you to double-click on an item to edit its crop box (mask).

Posted

Ok Thanks Jack, i'll take a look at it.

Posted

The Crop class was indeed very useful, I'll modify it a bit to fit my specific needs.

 

Tank you very much Jack for your help, and for writing well documented code.

 

Cheers :lol: .

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...