Previous Thread
Next Thread
Print Thread
Rate Thread
#154214 06/23/2002 11:28 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
This adds a new ubb code (thumb). When a users posts an image with the thumb tag it is display with a fixed width of 400 pixels (you can change the code to have any width). When you click on the image it opens the original fullsize in a new window.

This DOES NOT reduce the size of the image, you are still downloading the whole pic. It does however ensure that people can't use IMG to post 1600x1200 images that stretch the topic page and look really ugly. This is great for gaming sites that have a lot of screenies.

I also added the reverse code so that it is quotable and editable (it broke if HTML is turned off before that).

demo: Click here

Download: Click here

Please report any bugs in this thread, and if anyone determines that has security issues please point them out.

Sponsored Links
Entire Thread
Subject Posted By Posted
[6.3.x] [beta] The Thumb hack RandyM 06/24/2002 6:28 AM
Re: [6.3.x] [beta] The Thumb hack Josh Chapman 06/24/2002 6:31 AM
Re: [6.3.x] [beta] The Thumb hack LK 06/24/2002 8:45 AM
Re: [6.3.x] [beta] The Thumb hack Galactus 06/24/2002 9:08 AM
Re: [6.3.x] [beta] The Thumb hack LK 06/24/2002 9:10 AM
Re: [6.3.x] [beta] The Thumb hack Lord Dexter 06/24/2002 9:13 AM
Re: [6.3.x] [beta] The Thumb hack Galactus 06/24/2002 9:16 AM
Re: [6.3.x] [beta] The Thumb hack Galactus 06/24/2002 9:23 AM
Re: [6.3.x] [beta] The Thumb hack LK 06/24/2002 10:12 AM
Re: [6.3.x] [beta] The Thumb hack Galactus 06/24/2002 11:16 AM
Re: [6.3.x] [beta] The Thumb hack Variables 06/24/2002 1:06 PM
Re: [6.3.x] [beta] The Thumb hack RandyM 06/24/2002 3:48 PM
Re: [6.3.x] [beta] The Thumb hack LK 06/24/2002 4:33 PM
Re: [6.3.x] [beta] The Thumb hack RandyM 06/24/2002 4:50 PM
Re: [6.3.x] [beta] The Thumb hack RandyM 06/30/2002 6:03 PM
Re: [6.3.x] [beta] The Thumb hack Greg Hard 07/01/2002 2:13 AM
Re: [6.3.x] [beta] The Thumb hack LK 07/01/2002 8:37 AM
Re: [6.3.x] [beta] The Thumb hack RandyM 07/08/2002 3:05 AM
Re: [6.3.x] [beta] The Thumb hack dbode 08/15/2002 10:57 AM
Re: [6.3.x] [beta] The Thumb hack LK 08/15/2002 10:59 AM
Re: [6.3.x] [beta] The Thumb hack RandyM 08/15/2002 2:30 PM
Re: [6.3.x] [beta] The Thumb hack AllenAyres 08/15/2002 6:31 PM
Re: [6.3.x] [beta] The Thumb hack M_30-john 08/16/2002 10:43 AM
Re: [6.3.x] [beta] The Thumb hack RandyM 08/16/2002 2:42 PM
Re: [6.3.x] [beta] The Thumb hack M_30-john 08/16/2002 2:52 PM
Re: [6.3.x] [beta] The Thumb hack RandyM 08/16/2002 3:02 PM
Re: [6.3.x] [beta] The Thumb hack CaCoffin 09/06/2002 4:27 PM
Re: [6.3.x] [beta] The Thumb hack bobbel 09/06/2002 7:34 PM
Re: [6.3.x] [beta] The Thumb hack Fahd 10/01/2002 11:52 PM
Re: [6.3.x] [beta] The Thumb hack Fahd 10/03/2002 8:18 PM
Re: [6.3.x] [beta] The Thumb hack bobbel 10/04/2002 10:42 AM
Re: [6.3.x] [beta] The Thumb hack AllenAyres 10/07/2002 5:56 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)