• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Resize Image when uploading

New Here ,
Mar 06, 2007 Mar 06, 2007

Copy link to clipboard

Copied

HI all,

Is there any way I can resize image when user upload the file to my server. Lets say I need to resize the file from 300 pixels to 500 pixels.

Thanks in Advance
Nick
TOPICS
Advanced techniques

Views

831

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 06, 2007 Mar 06, 2007

Copy link to clipboard

Copied

Two ways I know, both are commercial products:

http://www.alagad.com/index.cfm/name-aic

http://efflare.com/products/cfx_imagecr/

--
Ken Ford
Adobe Community Expert
Fordwebs, LLC
http://www.fordwebs.com


"akcreative" <webforumsuser@macromedia.com> wrote in message news:esl49s$6oi$1@forums.macromedia.com...
> HI all,
>
> Is there any way I can resize image when user upload the file to my server. Lets say I need to resize the file from 300 pixels to
> 500 pixels.
>
> Thanks in Advance
> Nick

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 07, 2007 Mar 07, 2007

Copy link to clipboard

Copied

I'm pretty sure that it wouldn't be hard if you use java for such purpose.
I used to do such things by Java.
You can use Java in Coldfusion, so in my opinion it shouldn't be a big problem....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 07, 2007 Mar 07, 2007

Copy link to clipboard

Copied

Also check ImageMagick , which is a free solution. www.imagemagick.org/

You can control imageMagick with cfexecute tag, or use the jMagick interface (haven't tried it lately though)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 08, 2007 Mar 08, 2007

Copy link to clipboard

Copied

I have been using cfx_pwimageproc for years and It works amazingly well. Can resize, add watermarks, rotate... its a really cool tag.

Google cfx_pwimageproc. You'll find it there.
Its made by Perthweb.

Demo is free. The liscence isnt too expensive...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 08, 2007 Mar 08, 2007

Copy link to clipboard

Copied

Is there a way to go it without a custom tag....I use cfx_imagecr which is amazing but i have a site hosted by another server and the hosting company resuses to install custom tags

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 08, 2007 Mar 08, 2007

Copy link to clipboard

Copied

Alagad Image Component will work:

http://www.alagad.com/index.cfm/name-aic

--
Ken Ford
Adobe Community Expert
Fordwebs, LLC
http://www.fordwebs.com


"izdabye" <webforumsuser@macromedia.com> wrote in message news:espu77$ks1$1@forums.macromedia.com...
> Is there a way to go it without a custom tag....I use cfx_imagecr which is amazing but i have a site hosted by another server and
> the hosting company resuses to install custom tags

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 08, 2007 Mar 08, 2007

Copy link to clipboard

Copied

Johnny852 has the answer I think you're looking for - Look up how to do it in Java, and then use CF to create the java classes and perform the logic. The only restriction is that you would need to be able to use <cfobject> or CreateObject(), which some hosting companies disable for security reasons.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 08, 2007 Mar 08, 2007

Copy link to clipboard

Copied

This link might be a little more helpful than my last post:

http://www.jmpj.net/jason/index.cfm?mode=entry&entry=42FE9800-CF1D-76B8-A91A4880366BE42F

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 08, 2007 Mar 08, 2007

Copy link to clipboard

Copied

> Johnny852 has the answer I think you're looking for - Look up how to do it in
> Java, and then use CF to create the java classes and perform the logic. The
> only restriction is that you would need to be able to use <cfobject> or
> CreateObject(), which some hosting companies disable for security reasons.

Or you could not reinvent the wheel, and just use Alagad, which does
*exactly* what you are suggesting. With the benefit of already being
widely used and tested and proven to work.

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 08, 2007 Mar 08, 2007

Copy link to clipboard

Copied

> Is there a way to go it without a custom tag....I use cfx_imagecr which is amazing but i have a site hosted by another server and the hosting company resuses to install custom tags

Change hosts, citing this restriction of theirs as the reason you're
jumping. Selecdt a new host who has no such restriction.

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 09, 2007 Mar 09, 2007

Copy link to clipboard

Copied

It does look like alagad should fit the bill. The only downside is, in fact, the BILL. Not that $75 is a lot to pay for that type of functionality, but if you you have a lot of servers you want to install this on or you have a little free time and elbow grease, you should be able to code the basic functionality you need fairly quickly. Following one of the links I provided last night, I whipped the following up which scales a graphic down by 10x . It should be fairly easy to modify it to scale to specific dimmensions:

Please Note - the code here is from:
http://www.compoundtheory.com/?action=displayPost&ID=77

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 09, 2007 Mar 09, 2007

Copy link to clipboard

Copied

LATEST
> It does look like alagad should fit the bill. The only downside is, in fact,
> the BILL. Not that $75 is a lot to pay for that type of functionality, but if
> you you have a lot of servers you want to install this on or you have a little
> free time and elbow grease,

Absolutely agree: it's a balancing act.

I see Alagad as being a very cheap solution to a complex task, and -
personally - well worth me not arsing around replicating the functionality.

But it depends on the £ figure one attaches to one's time, and the scale of
the requirement.

Plus it's always nice to explore these things one's self... but only if
time permits!

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation