Foros de discusión

Image Gallery URL Prompts for Download

Nate Shaw, modificado hace 12 años.

Image Gallery URL Prompts for Download

Junior Member Mensajes: 49 Fecha de incorporación: 26/10/10 Mensajes recientes
Hi all.

I am trying to implement an image viewer in LR and am using shadowbox. The implementation is very easy and I have it working just fine using some images from Flickr. HOWEVER, when I change the URL of the large image to an image uploaded in the Liferay Image Gallery, it breaks. In fact, I have found that if I copy and paste the "view" URL for an image gallery image in the browser address bar in

- Chrome, it prompts me to download the image instead of showing it.
- IE, it shows the image
- Firefox, it prompts me to download the image instead of showing it

I have seen this type of behavior before when the mime type was not being specified properly on the response, but I am not sure if that is what is going on here or not. Regardless, it is not working as expected.

Anyone have any ideas as to what is going on and how to fix it? Thanks!

P.S.

I have tried using all 3 URL's for an image that I thought may work:

Actual image URL when viewing the large image in the native Image Gallery slideshow: http://iceportal.com:8888/image/image_gallery?img_id=12622&t=1332252237573
Download URL for the image: http://iceportal.com:8888/image/image_gallery?img_id=12622&fileName=100_0123.jpg&t=1332252237573
View URL for the image: http://iceportal.com:8888/image/image_gallery?uuid=dc8cdd38-3df4-4789-86a3-5c8c83bb6eab&groupId=11452&t=1332252237573

The URL's work as expected in IE, but in Firefox and Chrome, they still all prompt me to download the image (which is only the expected behavior for the 2nd link).
thumbnail
Mika Koivisto, modificado hace 12 años.

RE: Image Gallery URL Prompts for Download

Liferay Legend Mensajes: 1519 Fecha de incorporación: 7/08/06 Mensajes recientes
That issue is fixed in Liferay 6.1