Quote:
Originally Posted by noppid
Here's what's happening. vB is firing off the data. We are requesting it in an html page when a popup is requested.
You can mimic this behaviour by changing the your vbgarage_imagebits template to this... vBGarage is not sending as many headers as vB though, so your milage may vary.
HTML Code:
<a style="cursor:pointer; cursor-hand" href="$vboptions[bburl]/vbgarage.php?do=getimage&id=$image[vbgarageid]" onclick="PopupPic(this.href); return false;" target="_blank"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&width=100&id=$image[vbgarageid]" alt="$image[name]" border="0" />
Here's a link to you. http://www.prodoggroomingsupplies.co...getimage&id=52
|
Now popups are opening at only 200 pixels wide! By the way, I think you left off the closing </a>
Also -- within the "vbgarage_popup" template, we should first check the user's maximum screen width/height and then only resize the popup window up to that size.. Otherwise we are opening a window larger than a user may be able to handle.
-V