Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2008
Posts: 42
Likes: 3
D
Newbie
OP Offline
Newbie
D
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,831
Likes: 109
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,831
Likes: 109
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.

Attached Images
20200327_11-10-57.PNG

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Work In Progress: soon
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Dec 2008
Posts: 42
Likes: 3
D
Newbie
OP Offline
Newbie
D
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,831
Likes: 109
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,831
Likes: 109
right-click, choose "view image"


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Work In Progress: soon
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,831
Likes: 109
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,831
Likes: 109
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 // Work In Progress: soon
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
How to delete all PM's for one user
by Ruben - 02/27/2021 7:10 AM
Active links corrupts image links/urls
by Morgan - 02/24/2021 1:03 PM
Return to Page
by Abbott - 02/20/2021 9:57 AM
Importers folder?
by DaveZ - 02/18/2021 11:31 AM
PM Next and Prior
by Abbott - 02/15/2021 4:37 PM
Who's Online Now
6 members (Ruben, Gizmo, Morgan, DaveZ, Mors, 1 invisible), 60 guests, and 65 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5