2

I have used a controller action for dynamically rendering image files from a url with the following method:

send_file( image_url,  :disposition => 'inline',  :type => 'image/jpeg',  :x_sendfile => true )

Images are not showing up in IE:

Error:Unable to decode image at URL: http://filepathurl.com

Any help appreciated thanks

wpp
  • 7,093
  • 4
  • 33
  • 65
Debadatt
  • 5,935
  • 4
  • 27
  • 40

1 Answers1

0

I had the same error message when I tried to open images from localhost. I resolved it by adding localhost to Trusted sites and setting security level Low for it (when "Unsigned ActiveX controls will not be downloaded" disapears from level description)

Andris
  • 1