Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 13 guests, and 43 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
SteveS
SteveS
Massachusetts
Posts: 532
Joined: March 2007
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 30
Morgan 28
isaac 15
ECNet 9
Jake 6
M4TT 3
SyuzVR 3
Geoff 1
Latest Photos
Some pictures for fun
test for attachment sizes
A gallery with animated GIFs
Lazy fox, drops, and a light house.
Welcome to poet
Previous Gallery
Next Gallery
Print Thread
Images In This Group
A gallery with animated GIFs
by isaac on 04/01/16 05:22 PM

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

Comments
#258257 - 04/01/16 06:26 PM Re: A gallery with animated GIFs [Re: isaac]  
Joined: Jun 2006
Posts: 16,662
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer

Joined: Jun 2006
Posts: 16,662
Portland, OR; USA
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.


Forums: A Gardeners Forum
UBB.Threads: UBBWiki, UBBSkins, UBB.Sitemaps
Longtime Supporter & Beta Tester & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#258261 - 04/03/16 04:01 AM Re: A gallery with animated GIFs [Re: isaac]  
Joined: Apr 2004
Posts: 866
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer

Joined: Apr 2004
Posts: 866
California
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.

#258262 - 04/03/16 11:07 AM Re: A gallery with animated GIFs [Re: isaac]  
Joined: Feb 2007
Posts: 1,310
JAISP Offline
JAISP  Offline


Joined: Feb 2007
Posts: 1,310
Pennsylvania
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

#258263 - 04/03/16 11:10 AM Re: A gallery with animated GIFs [Re: isaac]  
Joined: Feb 2007
Posts: 1,310
JAISP Offline
JAISP  Offline


Joined: Feb 2007
Posts: 1,310
Pennsylvania
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.

#258264 - 04/03/16 12:47 PM Re: A gallery with animated GIFs [Re: isaac]  
Joined: Jun 2006
Posts: 16,662
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer

Joined: Jun 2006
Posts: 16,662
Portland, OR; USA
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]


Forums: A Gardeners Forum
UBB.Threads: UBBWiki, UBBSkins, UBB.Sitemaps
Longtime Supporter & Beta Tester & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
#258272 - 04/03/16 09:15 PM Re: A gallery with animated GIFs [Re: JAISP]  
Joined: Apr 2004
Posts: 866
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer

Joined: Apr 2004
Posts: 866
California
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!


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
PHP Version Requirements
by Jake. 04/28/17 07:06 PM
Media: Embedded You Tube
by Jake. 04/26/17 08:48 AM
Width of Post Title Entry Field
by Jake. 04/26/17 08:43 AM
Your server does not appear to..
by Morgan. 04/26/17 03:51 AM
ERROR Please advise
by Morgan. 04/24/17 04:46 PM
Forum Statistics
Forums36
Topics34,928
Posts189,984
Members11,989
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20170426)