Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6338181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:23:33+00:00 2026-05-24T19:23:33+00:00

After doing a cffile action=upload, I’d like to check the width (assuming it’s a

  • 0

After doing a cffile action=”upload”, I’d like to check the width (assuming it’s a image). I’m currently using CF8.

Is there a built-in function to get the width of an image? If there’s a built-in function in CF9, I guess I need to know that for when we update.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T19:23:33+00:00Added an answer on May 24, 2026 at 7:23 pm

    According to LiveDocs, the functionality exists in CF8.

    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_h-im_32.html#5164681

    The example provided by Adobe should get you going:

    <!--- This example shows how to retrieve information associated with the image. --->
    <!--- Create a ColdFusion image from a JPEG file.--->
    <cfimage source="../cfdocs/images/artgallery/jeff05.jpg" name="myImage">
    <!--- Retrieve the information associated with the image. --->
    <cfset info=ImageInfo(myImage)>
    <cfdump var="#info#"></cfdump>
    <p>height = <cfoutput>#info.height#</cfoutput>
    <p>width = <cfoutput>#info.width#</cfoutput>
    <p>source = <cfoutput>#info.source#"</cfoutput>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting a getaddress error and after doing some sleuthing, it looks like it
After doing an AJAX call, am redirecting- using the following code. But, after AJAX
After doing some processing on an audio or image array, it needs to be
After doing an insert I want to pass the object to the client using
After doing some changes to my plugin amtyThumb , I realized that there is
After doing a couple hours of research, I found out that there are multiple
After doing some research, everyone seems to advise learning and using some form of
After doing some initial research into using Appfabric for caching, my understanding is that
After doing so: $.ajax({ type: POST, url: $(#form).attr(action), data: value= + value + &sel=
I am currently studying Web Services and after doing a sample practise in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.