Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
dorisf  
#1 Posted : Monday, February 23, 2009 4:46:22 AM(UTC)
dorisf

Rank: Member

Groups: Member
Joined: 1/12/2009(UTC)
Posts: 11

I tried your modified .js version ..

1. I made the following change

_getFixedCropSize: function() {
var controller = $find(this._controllerId);
//size of crop rectangle in pixels
var w = 161; // CHANGED 1
var h = 161; // CHANGED 2
var ratio = controller.get_resizeRatio();
return { width: w / ratio, height: h / ratio };
},

2. BUT the final image was sized to 91pixels x 91 pixels..

Why is this?

I might be interested in buying this product. But I need to understand:

1. how to get a cropped image of the size I want.
2. also how to store the resulting cropped image in the directory I want. How do I control this?

My Kindest Regards,
~ Doris.
Dmitry  
#2 Posted : Wednesday, February 25, 2009 4:31:54 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello Doris,

Have you tried to replace your CropEffect.js with the updated one attached to the Pre Defined Crop Size post?
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.