Solved

trying to resize image in railo (coldfusion open source)

Posted on 2010-09-01
4
506 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

929 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now