Solved

trying to resize image in railo (coldfusion open source)

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
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 purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

810 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