mercredi 8 juillet 2015

How to display image with fancybox href attribute

I am trying to show image with fancybox 1.3 . I have managed to do this with base64 coding, it worked like a charm. But now, I want to retrieve the image through a servlet. If i put the url to the image src attribute, it shows the image, but if I put this url to the href attribute, when I click on the picture it shows this:

http://ift.tt/1S9tILh

I set the response content type correctly. What can be the problem?

Aucun commentaire:

Enregistrer un commentaire