Issue 111: Nyromodal doesnt resize the modal box for external images
Status:  Fixed
Owner: ----
Closed:  Nov 2008
Reported by dragosmo...@gmail.com, Nov 8, 2008
Nyromodal will work for links like
<a href="./image.png" class="nyroModal">Image</a>
but not for <a href="http://test.tld/image.png" class="nyroModal">Image</a>
In the last case, nyromodal thinks it is an iframe, though i dont want it
to be an iframe. The problem is that the image will show up in the modal
box, but it won't resize to fit the image. The modal box will take the
height and the width from the min values (i mean minHeight and minWidth).
I've tried 
$(document).ready(function(){
$(".imgP").click(function(e) {
    e.preventDefault();
	$.nyroModalManual({
	  type: 'image',
      url: $(this).attr("src")
	  });
    return false;
  });
howether it doesnt want to set the type to image (still type iframe remains).


Nov 9, 2008
Project Member #1 nyro...@gmail.com
Hi dragosmocrii,

Thanks for your bug report.
It'll be fixed in the next release.
Otherwise, as a quick fix, you could use the forceType setting instead of the type
setting. And shouldn't you use the href attribute instead of the src attribute ?
Status: Fixed
Labels: Type-Defect