Previous Gallery
Next Gallery
Print Thread
Hop To
A gallery with animated GIFs #258255 04/01/2016 4:22 PM
6 Images
Joined: Apr 2004
Posts: 1,549
isaac Offline 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 5:26 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
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 3:01 AM
Joined: Apr 2004
Posts: 1,549
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,549
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 10:07 AM
Joined: Feb 2007
Posts: 1,276
JAISP Online Tapedshut
Veteran
Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,276
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 10:10 AM
Joined: Feb 2007
Posts: 1,276
JAISP Online Tapedshut
Veteran
Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,276
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 11:47 AM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
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 8:15 PM
Joined: Apr 2004
Posts: 1,549
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,549
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
Mobile app?
by Baldeagle - 12/06/2019 9:32 PM
How do you change Text Line spacing?
by jorb - 11/23/2019 12:14 AM
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
Followed List v7.7.2 Question
by Ruben - 11/12/2019 12:22 PM
Who's Online Now
1 registered members (JAISP), 84 guests, and 428 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 20191023)