Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2008
Posts: 42
Likes: 3
D
Newbie
Newbie
D Offline
Joined: Dec 2008
Posts: 42
Likes: 3
On desktop monitors, the lightbox displays of inline attached images are often smaller than the inline version. I'd like to increase the lightbox display to full size, or the user's screen width. Is that possible? I couldn't find a setting in the forum admin panel.
Thanks.

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
Control Panel > Attachments

ENABLE:
Quote
Display Download Button
Display a download button when showing images (jpg, jpeg, gif, png) in the Lightbox. It is displayed next to the "rotate" and "close" buttons.
Attachments
20200327_11-10-57.PNG


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Dec 2008
Posts: 42
Likes: 3
D
Newbie
Newbie
D Offline
Joined: Dec 2008
Posts: 42
Likes: 3
Thanks! I'll enable that feature.

Still would like to have screen width lightbox displays though.

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
right-click, choose "view image"


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
You can also disable Lightbox from being used entirely, by removing its script request from the showflat template. This will affect all of your posts, including your galleries/gallery posts.

in /forums/templates/default/showflat.tpl
FIND AND REMOVE THIS LINE:
(it is toward the end of the template)
Code
<script src="{$config.BASE_URL}/ubb_js/assets/jquery.lightbox-plus-rotate.min.js"></script>

--

CODE MODIFICATION DISCLAIMER:
source: /forums/index.php
Quote
// You may make modifications, but only for your own use
// and within the confines of the UBB.threads License
// Agreement (https://www.ubbcentral.com/terms.php).
//
// Note: If you modify ANY code within your UBB.threads,
// we at UBB Systems cannot offer you support.
// Thus, modify at your own peril smile


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 522 guests, and 99 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)