View Full Version : vBGarage popup - doesn't resize in IE
lazytown
02-02-2005, 09:22 PM
I've had some users complaining that the vBGarage full size pop-ups don't automatically resize in Internet Explorer like they do with other photos in VB. IE6 has the auto-resize feature that scales images to fit a users brower. For some reason they don't scale with vBGarage.
-V
noppid
02-02-2005, 09:28 PM
Without a screen shot or link we can't make an assessment. Try posting one or the other.
No one else has reported this, we need as much info as possible.
lazytown
02-02-2005, 11:35 PM
If you are running IE6, you will know what I am talking about. It affects all users of IE6 and vBGarage. Try it on your motorcycle forums if you have IE installed. You'll see that normal enlarged VB photos resize when you change your browser's window size (interactively) and VBG popups don't.
By the way, some people disable auto-resizing in IE so they won't notice it.
-V
noppid
02-02-2005, 11:53 PM
1) If you are running IE6, you will know what I am talking about.
2) It affects all users of IE6 and vBGarage.
3) Try it on your motorcycle forums if you have IE installed.
4) You'll see that normal enlarged VB photos resize when you change your browser's window size (interactively) and VBG popups don't.
5) By the way, some people disable auto-resizing in IE so they won't notice it.
-V
1) We are. On windows XP and Win98 and I get the desired result from the popups.
2) We can't confirm that.
3) We did and I get the desired result.
4) I can't seem to duplicate that action? Maybe it's a setting? Got a link to a demo?
5) Thanks for pointing that out, it will help elsewhere.
All the templates in 4.0.0 are as is from version 3.1.1 that magnus released. All the functionalities are as they were.
All of the templates have been updated in the upcoming release, however I'm not sure what functionality you expect, still, or if it will be in there.
lazytown
02-03-2005, 12:22 AM
Ok try going to http://ProDogGroomingSupplies.com/forums
In your version of IE, when you see a very large photo and change the window size so that it no longer fits, it should scale the image down in real-time (kind of neat). But the popups from vBGarage are not doing that for me or some of my users. They also don't have scroll bars and sometimes go off-screen if they are large enough. I've never installed a previous version of vBG, so I can't say its a new problem.
Example:
If you click these thumbs from within this post and scale your window down small enough, the photo will shrink.
http://www.prodoggroomingsupplies.com/dog-forums/showthread.php?t=4136
However, if you click the thumbs from this vBGarage, they will not shrink and do not even have scroll bars.
http://www.prodoggroomingsupplies.com/dog-forums/vbgarage.php?do=view&id=1434
-V
noppid
02-03-2005, 01:46 AM
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.
<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" /></a>
Here's a link to you. http://www.prodoggroomingsupplies.com/dog-forums/vbgarage.php?do=getimage&id=52
lazytown
02-03-2005, 08:57 AM
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.
<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.com/dog-forums/vbgarage.php?do=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
noppid
02-03-2005, 02:26 PM
I'm not a java programmer, so don't expect these details to be dealt with. It is what it is.
Thanks
lazytown
02-03-2005, 11:00 PM
Well its great, so don't get me wrong! My users are very happy overall. Some of the tweaks I've mentioned are pretty easy to implement, so if I do them would you want me to give you the code?
-V
noppid
02-03-2005, 11:06 PM
Well its great, so don't get me wrong! My users are very happy overall. Some of the tweaks I've mentioned are pretty easy to implement, so if I do them would you want me to give you the code?
-V
If you are slick with all that in Javascript, sure. I could work it out, but honestly, my hands are full now with the bite I took of this.
This should remain a 2 step process though. In the calling window work out the resolution of the users screen and size of the new window accordingly, then in the recieving window do the focus. Although we do have one problem, nothing is supplying an image size to work with in the calling window.
I'll try and think of the most efficient way to get that for you, unless you have an idea?
Thanks.
EDIT. Shows ya how much I know. I guess ya can do all the resizing and focusing on the recieving window and just pop off the new window with the attributes we need from the calling window, size not mattering to caller.
steve3402000
02-27-2005, 03:28 PM
WHat add on are those photos from?
Id love something like that on my site
Steve
noppid
02-27-2005, 04:36 PM
WHat add on are those photos from?
Id love something like that on my site
Steve
It's vBGarage. A photo gallery targeted at car boards, but customizable through pharses for any topic.
https://vborg.vbsupport.ru/showthread.php?t=76163
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.