The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Open thumbnail attachments into seperate "pop-up" window.
I'm looking for a modification that will allow the user to open a thumbnail/attachment into a pop-up window (without scroll bars, centered); rather than spawing a new browser with target="_blank"
A nice option would be a closing button/icon, however the simple use of the "X" is just fine. Thanks! |
#2
|
|||
|
|||
I have mine opening in a new window, but to get it centered and without scrollbars, you'd need to know the image dimensions, which would mean GD calls or putting the image dimensions in the attachments database. That would be a good thing to do at the time that the image is uploaded and the thumbnail is created.
Also such a feature does require JavaScript and might interfere with people's ad blockers. So mine has reasonable fixed dimensions, and slight offset from the corner. It falls back on a simple target=BLANK type new window if there is no Javascript. Sounds like it is not nearly what you want. But it's only a template hack which means I couldn't post it here anyway but feel free to PM me with an email address if it is something you can use. (NOT CENTERED, NOT EXACT SIZE, YES RESIZEABLE - template mods only) Regards, Matt |
#3
|
|||
|
|||
I am interested in exactly the same thing as vpreatr, has anyone come up with a hack for this? I am the only one who uploads pictures so they have a fixed size.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|