popup blockers will be able to block the popup... but most will allow it if the user initiates it (through clicking)
to determine the dimensions you should use something like...
[code]<?php
$dimensions = getimagesize("filename");
$width = $dimensions[0];
$height = $dimensions[1];
?>[/code]
put something like the following in your (don\'t know if it\'s possible to have it anywhere else.)
[code]function pop(thewidth.theheight,thefilename)
{
mywindow = window.open (thefilename,
"Viewing Image [Portfolio]",
"width=" + thewidth + ",height=" + theheight);
}[/code]
then in your php, all you\'ll need is something like this...
[code]<?php
$file = "filename";
$link = "javascript:pop({$width},{$height},{$file})";
$link = "<a href=\"{$link}\">View This Image</a>";
echo $link;[/code]
probably buggier than anything you\'ve ever seen, but it\'s a basis on which you can build I guess... the $height/width should work no probs... it\'s just the js which i\'m not too good at.
hope it helps

/good.gif\' class=\'bbc_emoticon\' alt=\'(Y)\' /> and sexy portfolio
-

/penguin.gif\' class=\'bbc_emoticon\' alt=\':penguin:\' />