Solved

trying to resize image in railo (coldfusion open source)

Posted on 2010-09-01
4
516 Views
Last Modified: 2013-12-16
I have an image on the server and using cfimage, I'm trying to resize it, then display that resized image in the browser.  what am I doing wrong?  I can display it but it doesn't resize it.

<cfimage source="\var\www\domain\public_html\images\gallery\pictures\folder\nav_agent_over.gif" action="resize" width="5%" height="6%" >

<cfimage action="writetobrowser" source="\var\www\domain\public_html\images\gallery\pictures\folder\nav_agent_over.gif" />
0
Comment
Question by:COwebmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 33583038
Just a guess, but shouldn't you be saving the resized image somewhere? It doesn't look like you're using a "destination" (file path) or "name" (image variable) anywhere.  

0
 

Author Comment

by:COwebmaster
ID: 33583179
nice :)  Ok, that worked.
0
 

Author Closing Comment

by:COwebmaster
ID: 33583181
Thanks!
0
 
LVL 52

Expert Comment

by:_agx_
ID: 33583676
Welcome :)
0

Featured Post

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question