tracker issue : CF-4198571

select a category, or use search below
(searches all categories and all time range)

IsImageFile not working correctly

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Jack Huang / Jack Huang ()

Created: 04/29/2017

Components: Language, Functions

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: 10,0,22,301868 / 314612

Priority/Frequency: Normal / Some users will encounter

Locale/System: / Linux All

Vote Count: 0

Problem Description:
IsimageFile("") will return false when it is a valid jpg image file.

Steps to Reproduce:

Actual Result:
Return False

Expected Result:
Return True

Any Workarounds:
Use CFHTTP to write image to server first then use IsimageFile to check.



Hi Jack, Can you download the image and try to use it as a file and let us know what it returns. Thanks!
Comment by S P.
842 | May 12, 2017 01:17:43 PM GMT
Hi S Preethi, I am not sure what you mean? I downloaded it. It is just a normal jpg file. I used it for my background.
Comment by Jack H.
843 | May 22, 2017 03:13:56 AM GMT
Hi Jack, Could you use the downloaded image as the source in your testcase, instead of the browser url.
Comment by S P.
844 | June 01, 2017 09:54:36 AM GMT
Hi S Preethi, I don't have CF installed on my PC. I can't test it. I assume once it's local, it may work. That's the work around. But it shouldn't be that way. Are you from Adobe? If you have CF you can try it. This is a bug and should be fixed.
Comment by Jack H.
845 | June 12, 2017 02:02:22 AM GMT