google-code-export / nyromodal

Automatically exported from code.google.com/p/nyromodal
1 stars 1 forks source link

Image with parameters in URI always shown in IFRAME #549

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a regular modal setup where the minheight/minwidth is smaller as the 
image size.
2. Link the target to image.jpg?zz=1 (eg Flickr image)
3. Click the link

What is the expected output? What do you see instead?
I expect the image to be shown as an image without an IFRAME around it, since 
it will stay at the minwidth/minheightm instead of the image size.

What version of the product are you using? On what operating system?
NyroModal 1.6.2 (both source and minified)
Tested with all browser on Windows Vista.

Please provide any additional information below.
The "bug" came to my attention when the new image size on Flickr got 
introduced, which requires a parameter behind the URI.

Although I don't think it's a NyroModal bug, it would be nice if it could be 
fixed.

This is the warning given by Chrome:
"Resource interpreted as document but transferred with MIME type image/jpeg."

Original issue reported on code.google.com by jjdejong...@gmail.com on 23 Nov 2010 at 9:30