Previous Gallery
Next Gallery
Print Thread
Hop To
A gallery with animated GIFs #258255 04/01/2016 5:22 PM
6 Images
Joined: Apr 2004
Posts: 1,530
isaac Online Splat OP
UBB.threads Developer
A gallery with animated GIFs

Three sfw gifs. animated.
Three sfw jpgs. not animated.

Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
6 Comments
Re: A gallery with animated GIFs [Re: isaac] #258257 04/01/2016 6:26 PM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
Not so animated... It'd be nice if when you clicked on the picture (big version) that lightbox popped up vs showing a new window.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: A gallery with animated GIFs [Re: isaac] #258261 04/03/2016 4:01 AM
Joined: Apr 2004
Posts: 1,530
isaac Online Splat OP
UBB.threads Developer
OP Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
As you wished!
Lightbox is now a thing. The image dimensions and file size details are now displayed along with each image -- including the image's description, as typed during the file attachment.

To get the image's URL for link sharing, just right-click on the thumbnail and choose, "Copy Link Location" (or similar) from the menu. This will add a link of the large image version to your clipboard.


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: A gallery with animated GIFs [Re: isaac] #258262 04/03/2016 11:07 AM
Joined: Feb 2007
Posts: 1,273
JAISP Online Tapedshut
Veteran
Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,273
I like the change in the photo gallery but you should have a arrow going to the left as well not just to the right for the next image. If you did like I had and started in the middle you can't go to the left image. But really nice change. wink

Re: A gallery with animated GIFs [Re: isaac] #258263 04/03/2016 11:10 AM
Joined: Feb 2007
Posts: 1,273
JAISP Online Tapedshut
Veteran
Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,273
Also I like that you had removed the UBB Code box as for years I had to cut that out in my site to make it just a little harder for people to have the exact URL for off site linking to content on my site.

Re: A gallery with animated GIFs [Re: isaac] #258264 04/03/2016 12:47 PM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
Good eye, I didn't even notice the missing left arrow, lol...

You can add a .htaccess rule to block outside urls from linking to your content (replace "127.0.0.1" with the IP address of your server (site on the server), and "example.com" with your domain' add additional referer lines for additional URLs or Affiliate Hosts):
Code
# Allow authorized sites to retrieve files. #
RewriteCond %{HTTP_REFERER} !^$

# Start Site Specific Hosts #
RewriteCond %{HTTP_REFERER} !127.0.0.1 [NC]
RewriteCond %{HTTP_REFERER} !example.com [NC]

# Start Affiliate Hosts #
RewriteCond %{HTTP_REFERER} !ubbcentral.com [NC]
RewriteCond %{HTTP_REFERER} !ubbdev.com [NC]

# Start Search Engine Hosts #
RewriteCond %{HTTP_REFERER} !facebook.(com|net) [NC]
RewriteCond %{HTTP_REFERER} !fbcdn.(com|net) [NC]
RewriteCond %{HTTP_REFERER} !pinterest.com [NC]
RewriteCond %{HTTP_REFERER} !google.com [NC]
RewriteCond %{HTTP_REFERER} !yahoo.com [NC]
RewriteCond %{HTTP_REFERER} !picsearch.com [NC]
RewriteCond %{HTTP_REFERER} !^http://aolsearch.aol.com [NC]

# Start defined files & redirect location #
RewriteRule [^/]+.(gif|jpg|jpeg|psd|png)$ - [F]
#RewriteRule [^/]+.(gif|jpg|jpeg|psd|png)$ http://www.example.com/replacementimage.gif [F]


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: A gallery with animated GIFs [Re: JAISP] #258272 04/03/2016 9:15 PM
Joined: Apr 2004
Posts: 1,530
isaac Online Splat OP
UBB.threads Developer
OP Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
Originally Posted by JAISP
I like the change in the photo gallery but you should have a arrow going to the left as well not just to the right for the next image. If you did like I had and started in the middle you can't go to the left image. But really nice change. wink


Good catch/idea! Added.

Thanks for this!


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Having issue with redirects to UBB classic URLs
by amciotola - 10/16/2019 1:11 AM
Unable to save General settings
by amciotola - 10/13/2019 4:23 AM
I see signature line images, but no avatars
by Morgan - 10/12/2019 2:21 PM
Show PDF
by Geoff - 10/09/2019 1:33 AM
Subscription’s Auto Return URL for PayPal
by Geoff - 09/27/2019 12:10 AM
Who's Online Now
3 registered members (isaac, ABJCloudSolution, JAISP), 87 guests, and 445 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20190930)