Previous Thread
Next Thread
Print Thread
Hop To
How to get lightbox versions of attached images to show fullsize?
#263679 03/27/2020 1:55 PM
Joined: Dec 2008
Posts: 42
Likes: 3
Newbie
OP Offline
Newbie
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.

Re: How to get lightbox versions of attached images to show fullsize?
Digitalgas #263680 03/27/2020 2:12 PM
Joined: Apr 2004
Posts: 1,719
Likes: 64
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,719
Likes: 64
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 Files
20200327_11-10-57.PNG

Current developer of UBB.threads PHP Forum Software // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: How to get lightbox versions of attached images to show fullsize?
Digitalgas #263681 03/27/2020 2:58 PM
Joined: Dec 2008
Posts: 42
Likes: 3
Newbie
OP Offline
Newbie
Joined: Dec 2008
Posts: 42
Likes: 3
Thanks! I'll enable that feature.

Still would like to have screen width lightbox displays though.

Re: How to get lightbox versions of attached images to show fullsize?
Digitalgas #263682 03/27/2020 3:13 PM
Joined: Apr 2004
Posts: 1,719
Likes: 64
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,719
Likes: 64
right-click, choose "view image"


Current developer of UBB.threads PHP Forum Software // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: How to get lightbox versions of attached images to show fullsize?
Digitalgas #263683 03/27/2020 4:01 PM
Joined: Apr 2004
Posts: 1,719
Likes: 64
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,719
Likes: 64
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 // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Disaster!!! Files became empty.. Please advise.
by Morgan - 07/27/2020 2:38 PM
Unable to Update Censor List
by BOTCuser - 07/22/2020 9:15 AM
7.7.4 error on rebuilders
by Ruben - 07/21/2020 3:06 PM
[STOCK] UBB.threads Group Image Pack
by isaac - 07/19/2020 9:03 PM
Who's Online Now
2 members (JAISP, 1 invisible), 78 guests, and 52 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 7.7.5
(Snapshot build 20200807)