Forum Topic: Cropping

(226 views • 18 replies)

This topic is 1 page long.

<< < > >>
None

Fallin-Again

Reply To Post Reply & Quote

Posted at: 6/20/09 06:37 PM

Fallin-Again EVIL LEVEL 11

Sign-Up: 08/24/04

Posts: 464

Can anyone point me to a tutorial on how to make a cropping function exactly like the newgrounds one for the art portal?

BBS Signature

None

Wonderful

Reply To Post Reply & Quote

Posted at: 6/20/09 07:00 PM

Wonderful FAB LEVEL 13

Sign-Up: 07/27/08

Posts: 856

What language?

If PHP, this is the best thumbnailer class I have ever dealt with.

Posted from Linux. Distro may vary.


None

Fallin-Again

Reply To Post Reply & Quote

Posted at: 6/20/09 08:27 PM

Fallin-Again EVIL LEVEL 11

Sign-Up: 08/24/04

Posts: 464

wow spot on, thanks for the link!

BBS Signature

None

Fallin-Again

Reply To Post Reply & Quote

Posted at: 6/20/09 08:38 PM

Fallin-Again EVIL LEVEL 11

Sign-Up: 08/24/04

Posts: 464

actually sorry that was close but im looking for the exact same thing as the newgrounds art portal one.

BBS Signature

None

urbn

Reply To Post Reply & Quote

Posted at: 6/20/09 09:18 PM

urbn FAB LEVEL 18

Sign-Up: 06/10/07

Posts: 2,287


None

Jon-86

Reply To Post Reply & Quote

Posted at: 6/20/09 09:44 PM

Jon-86 NEUTRAL LEVEL 13

Sign-Up: 01/30/07

Posts: 3,858

At 6/20/09 08:38 PM, Fallin-Again wrote: actually sorry that was close but im looking for the exact same thing as the newgrounds art portal one.

They made it themselves, they didn't follow a tutorial to develop that feature!

PHP Main :: C++ Main :: Java Main :: irc.freenode.net

BBS Signature

None

Wonderful

Reply To Post Reply & Quote

Posted at: 6/20/09 10:58 PM

Wonderful FAB LEVEL 13

Sign-Up: 07/27/08

Posts: 856

At 6/20/09 08:38 PM, Fallin-Again wrote: actually sorry that was close but im looking for the exact same thing as the newgrounds art portal one.

RTFM and you can make one exactly the same.

Posted from Linux. Distro may vary.


None

Jon-86

Reply To Post Reply & Quote

Posted at: 6/20/09 11:08 PM

Jon-86 NEUTRAL LEVEL 13

Sign-Up: 01/30/07

Posts: 3,858

At 6/20/09 10:58 PM, Wonderful wrote: RTFM and you can make one exactly the same.

But you have to have the M before you can read it :P

PHP Main :: C++ Main :: Java Main :: irc.freenode.net

BBS Signature

None

Fallin-Again

Reply To Post Reply & Quote

Posted at: 6/21/09 02:01 PM

Fallin-Again EVIL LEVEL 11

Sign-Up: 08/24/04

Posts: 464

lol whats that even stand for?

BBS Signature

None

Wonderful

Reply To Post Reply & Quote

Posted at: 6/21/09 02:17 PM

Wonderful FAB LEVEL 13

Sign-Up: 07/27/08

Posts: 856

At 6/21/09 02:01 PM, Fallin-Again wrote: lol whats that even stand for?

READ THE FUCKING MANUAL

hello how do I google

Posted from Linux. Distro may vary.


None

Wonderful

Reply To Post Reply & Quote

Posted at: 6/21/09 02:19 PM

Wonderful FAB LEVEL 13

Sign-Up: 07/27/08

Posts: 856

At 6/20/09 11:08 PM, Jon-86 wrote:
At 6/20/09 10:58 PM, Wonderful wrote: RTFM and you can make one exactly the same.
But you have to have the M before you can read it :P

There's a decent amount of documentation for the thumbnailer class.

Posted from Linux. Distro may vary.


None

urbn

Reply To Post Reply & Quote

Posted at: 6/21/09 06:25 PM

urbn FAB LEVEL 18

Sign-Up: 06/10/07

Posts: 2,287

Did you look at the imagecopy function on the php website?

It tells you exactly how to crop images simply, you can then go about adding the bells and whistles afterwards...

BBS Signature

None

Fallin-Again

Reply To Post Reply & Quote

Posted at: 6/23/09 11:35 AM

Fallin-Again EVIL LEVEL 11

Sign-Up: 08/24/04

Posts: 464

im not having problems with image cropping its getting a UI that im having the trouble with.

BBS Signature

None

Jon-86

Reply To Post Reply & Quote

Posted at: 6/23/09 03:30 PM

Jon-86 NEUTRAL LEVEL 13

Sign-Up: 01/30/07

Posts: 3,858

At 6/23/09 11:35 AM, Fallin-Again wrote: im not having problems with image cropping its getting a UI that im having the trouble with.

The UI is done in Flash so obviously a question for the flash forum, but to be honest it dosnt look that complicated if you know Actionscript. Their are a number of approaches you could take to achieve this interface, but your best asking the flash forum for advice on that one.

PHP Main :: C++ Main :: Java Main :: irc.freenode.net

BBS Signature

None

Fallin-Again

Reply To Post Reply & Quote

Posted at: 6/26/09 12:12 PM

Fallin-Again EVIL LEVEL 11

Sign-Up: 08/24/04

Posts: 464

alright thanks!

BBS Signature

None

urbn

Reply To Post Reply & Quote

Posted at: 6/26/09 04:59 PM

urbn FAB LEVEL 18

Sign-Up: 06/10/07

Posts: 2,287

At 6/23/09 11:35 AM, Fallin-Again wrote: im not having problems with image cropping its getting a UI that im having the trouble with.

Although your answer now appears to be with the Flash forum, you couldn't have probably save a lot of time, but actually saying you were looking for the interface rather than the "function"...

You know, for future reference.

BBS Signature

None

liljim

Reply To Post Reply & Quote

Posted at: 6/26/09 05:36 PM

liljim NEUTRAL LEVEL 27

Sign-Up: 12/16/99

Posts: 8,859

It's actually done with javascript, not flash.

BBS Signature

None

citricsquid

Reply To Post Reply & Quote

Posted at: 6/26/09 05:40 PM

citricsquid DARK LEVEL 23

Sign-Up: 06/25/05

Posts: 15,853

At 6/26/09 05:36 PM, liljim wrote: It's actually done with javascript, not flash.

I've been thinking about cropping with javascript and I'm wondering how you do it: Do you simply take the co-ordinates that the javascript passes to PHP and use something imagecreate to create an image with that size at specific co-ords, or is it more complicated?


None

Jon-86

Reply To Post Reply & Quote

Posted at: 6/26/09 05:44 PM

Jon-86 NEUTRAL LEVEL 13

Sign-Up: 01/30/07

Posts: 3,858

At 6/26/09 05:36 PM, liljim wrote: It's actually done with javascript, not flash.

Thats impressive! Here's to the man or woman with the mental JS skills then!

PHP Main :: C++ Main :: Java Main :: irc.freenode.net

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 10:13 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!