INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Image downloaded becomes unreadable

Image downloaded becomes unreadable

(OP)
Hi All,

I have a weird issue on my site. Currently on Live site I am using elFinder (a Web file manager) v 2.0.2. After I download an image using elFinder, the downloaded image becomes unreadable. The size of the downloaded image and the filename are identical to the copy on the server. It is just that the image cannot be read by any image viewer or manipulation application.

Some helpful details:
(1) I have used Chrome and Firefox on Ubuntu, Windows and Mac. All downloaded images from Live site are unreadable. So this cannot be a browser or OS issue.
(2) I have a Test site, where development work is done. Downloading an image using elFinder on this site is ok. Image is readable. This site is on another server. Both servers are almost identical in terms of configuration. The Live site does have a load balancer, while Test does not. All other applications and versions used on the server should be identical, such as Apache, MySQL, PHP, etc. Configuration, more or less, are off the shelf, meaning it has not been tweaked.
(3) This warning appears on Chrome - Resource interpreted as Document but transferred with MIME type application/octet-stream. But the warning does come out on both Live and Test sites.

Any help is appreciated. Thanks!


Regards,
Marky A

RE: Image downloaded becomes unreadable

Quote:

After I download an image using elFinder, the downloaded image becomes unreadable

Your download tool is probably using ASCII mode rather than Binary mode to download images.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: Image downloaded becomes unreadable

(OP)
Hi Chris,

But the Testing site, which is a copy of the Live site, is able to download the images and the file does not get corrupted or unreadable? The only difference between the 2 server setups are the load balancers sitting in front of Live. The Testing site does not have the LBs.

By the way elFinder is a jQuery-based plugin.

Regards,
Mark

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close