i have this asp/php script showing pictures on my page and wonder how i can make visabild.php open in a new window, i tryed putting in target_blank but that just makes the php code fail on me :/ so if anyone could help me make it open the imiage in a new window with a specific window higth & witdt i would be very thankfull. if ( $row['picture'] != '' ) { echo '<a href="visabild.php?id=' . $row['id'] . '">'; echo '<img width="125" src="' . $row['picture'] . '"></a>'; } Code (markup):
Look into Lightbox (http://www.huddletogether.com/projects/lightbox/) Include the JS file, and set your rel="lightbox" and that's it