The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Server-side Thumbnailed Attachments Details »» | |||||||||||||||||||||||||
Thumbnailed Attachments Version 1.0
Description: Its kind of Self explanitory, but in anycase if you dont know what it does, it checks if an attached image is larger than your specified size and if it is it will use ImageMagick, Netpbm, or the GD Image functions to resize it accourdingly using a rather simple formula to make sure the thumbnails are kept in scale. Usual Mod Warning: This moddification unlike most other thumbnailed attachment mods isn't only a template hack so mind you, you'd have to make sure you backup your files before using this hack. Screenshots/Test Threads: I have one included below and this link contains a vB that has already been modded: http://www.cheatandwin.com/forums/sh...=&threadid=216. But i should let you know that both are kind of outdated already since i did update the instructions from an oversight i had made earlier.. Requirements: Umm, as vB goes i'd say you'd need 2.2.x or higher but i designed it under 2.3.3 so there might be slight differences namely in the templates but not much to worry about that.. PHP 4.0.6 <- For the moment that is the minimum requirement for the modifications i have made aside to the ones required for vB Any of the following 3: ImageMagick, Netpbm, or GD 2.01 or higher Thats about it, any comments, suggestions, or questions feel free to post here or even email me personally at cvmagic at cheatandwin dot com. [edit] New Updated Version Download Today! Show Your Support
|
Comments |
#2
|
||||
|
||||
intresting hack, but in your sample forum, some of the desktop photos didn't resize and they scroll hella far to the right. I might install this later today.
|
#3
|
||||
|
||||
Nice idea although i believe something similar has been done. Ill be sure too check this out later, Thanks
|
#4
|
||||
|
||||
@Shell Geeks:
actually in that demo i took an exsisting thread, and for a while the users thought that the attachments didnt work, so they posted with image tags, look at the source if you want.. @MindTrix: I do hope not, lol when i started the hack earlier today or yesterday im not sure lol, i did a simple search for this hack and only could find the template versions of this hack( in the sence that they'd use the image tags to resize for them client side) or a gallery hack but not one that directly modified attachment.php to generate the thumbs |
#5
|
||||
|
||||
In which case it hasnt been made then, so Congrats!!!
Im also guessing this is your first hack here at vb.org so congratulations on that also, hope to see more from you Long Live vB2!!! |
#6
|
||||
|
||||
Looks good - I know a client of mine was looking for this so thanks
|
#7
|
||||
|
||||
Hmm.. nice, I will try this on my test forum. How will yours handle images smaller than the values you set up? The thumbnail hack I use now wont ignore smaller images sizes and will resize them up to the set values.
Just as a FYI, there are 2 other "thumbnailing" hacks, one as you pointed out is template, the other is vbcode. https://vborg.vbsupport.ru/showthread.php?t=52685 https://vborg.vbsupport.ru/showthrea...threadid=52344 Chris |
#8
|
||||
|
||||
still doen't get what it is, what's for rour XP screenshot?
|
#9
|
||||
|
||||
@gmarik:
Well the screenshot shows a thumb that was created from a 1280 x 780 image, I needed to pick something that most people would think was big. @chrisvonc: Yes, smaller images arent resized they are in actuality are the original image, so needing to load the GD libraries is not required. @MindTrix: ^_^ yes it is my 1st hack, i wanted my first post to be one |
#10
|
|||
|
|||
Is there a way to cache the thumbnail? Your current method isn't effiecent. If the forum has alot of image attachments, this hack could bog down the server because it would have to dynamicly create the thumbnail each time the page loads. Also I looked at the code, if the thread has quite a few images atatched, it will greatly increase the page load time because it generated each thumbnail and uses resampling which isn't the fastest method but the best quality method.
This hack is great for small forums, but larger ones that have alot of attached images would see a performance decrease if they have alot of page views. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|