Image Attachment Thumbnailing ...

  • Thread starter LoudMusic
  • 11 comments
  • 532 views
10,687
United States
Everywhere
This maybe a bit out of your league, but would be super cool.

If attached images were thumbnailed and linked to the full version, the page would theoretically load faster - esspecially on pages with 20 or thirty images.

Example: http://forums.gtplanet.net/showthread.php?s=&threadid=12425

... and ...

http://forums.gtplanet.net/showthread.php?s=&threadid=6142

You could also have the img tag include size parameters to keep an image from blowing the page all out of proportion. Though it would be difficult to do it correctly because some images are small and would be stretched while other images are big and would be reduced. Perhaps there is a php way to check a file and then do the correct sizing on it.

~LoudMusic
 
Yes, definitely a feature I would love, but am currently unable to do... :(
 
i was one of the thread mentioned.

you may go on about your regularly scheduled business.

Anyways, the company who makes the forum software, should have a site, where spiffycool features are available to download and upgrade to fourms.
 
Originally posted by space
Anyways, the company who makes the forum software, should have a site, where spiffycool features are available to download and upgrade to fourms.
They have one - vBulletin.org - although nobody has attempted to create anything like this (as far as I know) due to the work involved and a limited user base who could actually make use of the addition.
 
it would be cool for thumbnails...then you wouldn't have to wait for some really huge pictures to load (which would be good for a 56K'er like me)
 
That's kind of the whole idea. You'd get a 200 x ? thumbnail of an image that could be any size ...

It would require some perl modules to actually resize the image though.

~LoudMusic
 
Indeed. Must be possible in PHP, which has a number of in-built image creation functions. If you could get the server to read them, resize them, and then spit them to the browser, that would help.

Jordan, does vB store the images as BLOB data in the database, or as files in a file structure on the web server?
 
Originally posted by GilesGuthrie
Jordan, does vB store the images as BLOB data in the database, or as files in a file structure on the web server?
They are stored as binary data in the database.
 
Originally posted by Jordan
They are stored as binary data in the database.

... then it HAS to be possible to transform that data as it comes out of the database. If a solution presents itself, I'll pass it on!

Is that the same for the avatars?
 
Originally posted by GilesGuthrie


... then it HAS to be possible to transform that data as it comes out of the database. If a solution presents itself, I'll pass it on!

Is that the same for the avatars?
Yes, it's definitely possible (I've even seen it done before) - I just don't know how!

And yes, avatars are stored in the database as well (notice their dynamic URL).
 
PHP has an image handler, but it is much easier to PURCHASE a program that will thumbnail for you, and basically add a thumbnail to the database as well.

It is possible to handle the image during a trip, but that becomes a REAL hassle.
 
Back