![]() |
BBCode - LARGE image preview - pop-up window.
1 Attachment(s)
*This code no longer works.. the way vbulletin interprets javascript the code will work but the forum will display an error message even though the code works.. The image will open up but if you go back to where you were there will be an error message until you refresh the page... In the new vbulletin this code is built in now anyways.
I hate when users post huge images on the forum.. so now they can use the large image tag.. It displays a button that shows a small icon preview of the image with the words.. "Click me & Full size" positioned nicely to allow the user to click the image preview and have the full size image appear in a pop-up... The code works very nicely! CLICK HERE FOR LIVE DEMO.... OR CLICK SMILEY FACE --> :) Please click install if you like/use it and don't forget to rate! LOVE!! :P Here is how: AdminCP > BBCode > New: Title: Code:
Image preview - popup window Code:
imgpop Code:
<button style="width:100px; height:100px" onClick="window.open('{param}','image','resizable=yes,status=yes,scrollbars=yes,width=500,height=500')"> Code:
[imgpop]https://encrypted.google.com/images/logos/ssl_logo_lg.gif[/imgpop] Code:
Gives a small preview icon of an image that, when clicked, displays the full size image in a pop-up window. Code:
NO. Please leave feedback!!! Thankyou all!!! bbcode image icon: Quote:
. |
The idea seems great.
A screenshot / demo would really help though. :) |
|
Thank you for the screenshot! I might actually make use of this. :)
Tagged for future reference. :) |
Thanks! Glad I could help!
|
1 Attachment(s)
installed
good code bro keep it up Note: if you want add button in editor upload attached image to dir images/editor/frame.gif |
Thanks for the image icon!
|
1 Attachment(s)
when i click the picture,it say to me "You must select a valid action" but but the picture open in a new window
|
That's strange... I'll take a look into it later...
|
gonna add this one!!! great work
|
Quote:
|
Quote:
|
I have no clue why this is happening? I try this on my website and it works fine, but when I try it on VBulletin forums I get this message so it's somethign wrong with the way vb reads the code I guess?
I've tried tons of workarounds.. anchoring, dif javascript code, CSS buttons, different button styles... Nothing seems to work??? Does anyone know? |
Quote:
|
I just installed it and i try to use it i keep getting this message:
The message you have entered is too short. Please lengthen your message to at least 10 characters. Uninstalled. |
Ok i re-Installed and was able to fix it and it works great.
Thank you and clicked installed again. |
Quote:
|
All times are GMT. The time now is 04:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|