Solved

trying to resize image in railo (coldfusion open source)

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
2 CSS questions 11 36
Condidional <a href = ....> 1 25
Library to convert HTML to PDF. 8 46
Bootstrap input box width 2 16
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
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…

746 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