Previous Thread
Next Thread
Print Thread
Rate Thread
#48953 07/22/2001 7:30 AM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Turbanator over at www.quake3world.com has a hack that uses [lvlshot][/lvlshot] that allows members to post pics of any size and they show up in the post as a thumbnail around 300x200 that opens a new window with the full size pic when you click on it.

How (where) do you add or manipulate UBB code? Has anyone done something similar to a 6.x UBB? Q3W uses 5.47 I believe.

Sponsored Links
#48954 07/25/2001 6:59 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I really thought this was a good idea??????

#48955 07/25/2001 7:08 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
They've obviously made major changes to the board, including the ability for it to process images... This is more than just a major undertaking. The vast majority of the hosts don't have the image processing modules for Perl...


UBB.classic: Love it or hate it, it was mine.
#48956 07/25/2001 10:43 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I host my UBB on a Win2K Advanced Server box, and getting the tools to thumbnail images shouldn't be a problem at all. I guess I'm looking for guidance on how to tell the UBB to access the thumbnailer, and then put the new code into the page.

I am not a programmer, and don't pretend to know the depth of coding that it would take to make this happen. My members like to post large images at times and the lvlshot commands at quake3world make for some very neat and organized looking threads.

[ July 25, 2001 10:43 PM: Message edited by: XPerT ]

#48957 07/25/2001 11:09 PM
Joined: Nov 2000
Posts: 68
Member
Member
Offline
Joined: Nov 2000
Posts: 68
A simple ubb6.xx version for people without the image resampling modules:
Code
code:

Sponsored Links
#48958 07/25/2001 11:23 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Works perfectly....I owe you one Turb...you da man.

#48959 07/26/2001 2:32 AM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
No, no, no, no!! That just takes the HUGE image and inlines it at the predetermined size!

THAT IS NOT the right way to do it!

You need to use GD or ImageMagick combined with LWP to create a REAL thumbnail.

If you're going to use the code above, your users are FAR better off just posting links.


UBB.classic: Love it or hate it, it was mine.
#48960 07/26/2001 7:39 AM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
That is exactly what I was looking for, but I see the point that it still requires the members machine to d/l the entire image to display it.

My objective was to keep the appearance of the threads uniform.

#48961 07/26/2001 12:47 PM
Joined: Jul 2001
Posts: 109
Member
Member
Offline
Joined: Jul 2001
Posts: 109
Code
code:
[/qb]


In this code, is it very difficult to integrate some call to NetPBM or ImageMagic to do make the thumb?
Actually XPerT, I think you have a great idea here laugh
We need someone to make this..Turbanator...you have a lot of spare time..huh? laugh

[ July 26, 2001 01:52 PM: Message edited by: kaukagaul ]


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
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)