Disable SEF, .htaccess and test it ?
You will know that SEF is problem.
index.php/portfolio.html This is very strange.
If you don´t have .htaccess (it is htaccess.txt when is not activated) then remove option "Use Apache mod_rewrite".
And remove option: Add suffix to URLs
Yes, it is true. I get same problem with SEF. Have to read a little bit more at Joomla forum.
This is very usefull option. I use it from long time ago, as Weblinks component. Small logo, at click opens in new window website of a "Friend". Never in modal box before.
I think it works, if you use "?tmpl=component" instead of "&tmpl=component" !
Is there also a possibility to let the modal box resize to fit the screen? Wouldn't so important, but really nice, because I have different image sizes in items.