andy's php projects
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Script and site usage:
All of the scripts on this site are provided free for non-commerical, personal or non-profit use. If you find these scripts useful to you, appreciate the free support, or are just an all round nice person, then why not donate a little dosh? If you wish to use any of these in a commercial system, please refer to the payment plan.


New version almost here!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> Crop Canvas
View previous topic :: View next topic  
Author Message
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Thu May 18, 2006 9:14 am    Post subject: New version almost here! Reply with quote

Hi,

I've just put the finishing touches on a new version of the cropping interface and a revamp of the crop canvas class. The interface have a few nice new additions and the cropping class can now also handle gifs. Need to give it a bit of a test before releasing it, but hopefully that wont take long.

Now, I know I could have just waited a few days to post a message about the new version being released, but I wanted to whet people's appetites. Wink

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Tue May 23, 2006 3:01 am    Post subject: Reply with quote

OK, just a little more tweaking and it's done!

Fun things you can expect in this new version:

Cropping class
  • Much tidier code
  • Supports jpg, png and gif (if available on your system)
  • Better detection of GD version and capabilities


Cropping interface
  • What you are cropping is now transparent and the rest if opaque
  • You can define the cropping area to be a pixel size, ratio or fraction of the image
  • You can define pre-set cropping sizes
  • It's now all in divs and no tables
  • Much tidier code
  • You can define where the crop area starts
  • Proportional cropping works much better


Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
bp
Newbie


Joined: 10 Jun 2006
Posts: 2

PostPosted: Wed Jun 14, 2006 11:27 pm    Post subject: final size of image Reply with quote

Since I have another script involved I may not need this but I think it could make some aspects easier for me... I want to have the ability to produce a fixed size thumbnail, say 100 x 100, using a proportional cropping area. So for example, you upload a 1200 x 1024 image and apply a 100x100 proportional cropping area, you resize it to the area you want, and it becomes 436x436 (for example) then you click to SAVE and the result is a 100x100 sized thumbnail.. (Direct me to the thread if this has already been asked and answered!)

Thanks for the new version by the way!! although I will edit it back to having the grippers at the corners of the cropping regions as I think that is more "user friendly" and I plan to use this commercially. Why did you decide not to include that feature? Maybe that info will help me...
Back to top
View user's profile Send private message
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Mon Jun 19, 2006 5:18 pm    Post subject: Re: final size of image Reply with quote

bp wrote:
Since I have another script involved I may not need this but I think it could make some aspects easier for me... I want to have the ability to produce a fixed size thumbnail, say 100 x 100, using a proportional cropping area. So for example, you upload a 1200 x 1024 image and apply a 100x100 proportional cropping area, you resize it to the area you want, and it becomes 436x436 (for example) then you click to SAVE and the result is a 100x100 sized thumbnail.. (Direct me to the thread if this has already been asked and answered!)


Follow the links (especially the first) on this message:

http://php.amnuts.com/forums/viewtopic.php?p=1046#1046

The cropping options obviously related the the current version, not the new version I emailed you.

bp wrote:
Thanks for the new version by the way!! although I will edit it back to having the grippers at the corners of the cropping regions as I think that is more "user friendly" and I plan to use this commercially. Why did you decide not to include that feature? Maybe that info will help me...


I chose not to use them mainly because the resizing worked with the standard 'shift key' method, so it was easier to roll that out that develop something new which has its own issue. It also allowed me to concentrate on the functions I wanted to see in there such as ratio-based sizes, and tidying up of the code, fixing bugs, etc.

Perhaps in a future version I'll do the corner-based gripper resizes, who knows. Smile

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> Crop Canvas All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group