I fixed it by creating a custom Image.ashx handler in my ASP.NET MVC app that processes images.
How to display binary image data in lightbox
-
29-03-2022 - |
Question
I am using Lightbox 2 plugin to display lightbox images (http://lokeshdhakar.com/projects/lightbox2/). It works fine, but now my images are all stored as an array of bytes. How can I change this plugin (or maybe use another plugin) to display binary image data rather than a path to an image?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow