Solved

trying to resize image in railo (coldfusion open source)

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

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to escape unsafe HTML tags 4 47
How to add custom html-5 element to a dynamically generated link? 4 37
Can't get video to center on page 2 45
Anchor Bookmark 6 33
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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 add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
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…

734 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