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 |
#12
|
||||
|
||||
Quote:
|
#13
|
||||
|
||||
I dont mean to double post, but since no one has replied yet i have to,... I actually got the requested cache in place and options added in the Admin panel under options so you wont need to edit attachments.php everytime you want to change thumbnail sizes or change cache directories, i have included updated instructions, and im planning to add upgrade instructions just incase( i doubt you'd need it tho because its all simple enough )...
[File Updated, Please download it again if you have downloaded it already] |
#14
|
||||
|
||||
Excellent hack, just what I was looking for to be honest. A lot of my users like to post photographs of themselves and gigs they've been to, only trouble is my forum has an 800 pixel width, which always gets shunted around when people post large images. This is ideal.
Thanks! |
#15
|
||||
|
||||
^_^ thanks, if your all interested im soon going to take this hack and add it support to scott's filebased attachements then officially release it, because it seems from all the forum versions i've tested it with its been rather flawless, and when it hasnt it were mainly due to permission issues on setting up the directories, lol yeah i dont follow my own instructions :-P
|
#16
|
|||
|
|||
Any chance of getting Image Magick support for this great hack?
|
#17
|
||||
|
||||
Sure, ill add that to my todo list
|
#18
|
|||
|
|||
That would be great CVMagic - Im running 3 gamma now and I know it has integrated thumbnailing of attachments but GD is limited to certain filetypes. ImageMagick supports almost all image formats, plus its much easier to install for those of us with our own servers. Much appreciated I like your clean mod.
|
#19
|
||||
|
||||
by the way as for ImageMagick intergration do you perfer just running direct exec commands or having ImageMagick Commands intergraded into php? I much Perfer the intergraded ones over exec ones because of security reasons and the fact that some servers disallow exec commands but the thing about intergraded ones for php is that you have to rebuild your server, so ill code it accourding to what you think is best in this case.
|
#20
|
|||
|
|||
Either way would be fine I would imagine, vbulletin is commercial product that is normally run on a dedicated server anyways. I personally have written most of my thumbnailing scripts using the system commands, ya know adding both types wouldnt really be hard since the system commands are one line using convert program.
|
#21
|
||||
|
||||
^_^ okay im done, i just added support for No Imaging for those people who wanted to add this hack and planning to move to a new server that has GD or otherwise soon, Netpbm Support which i frankly like better than both GD and ImageMagick, ImageMagick Support for those people who want it :-D, GD2 was there already but now i have function verification so you wont get those nasty errors if lets say you dont have 2.0.1 or higher installed, and i made sure that scott's attachments as files hack wont interfere, as a side note when scott released that he was still a genious since i still dont have to modify any of his code to make this hack to work which may i say i was happy about....
So overall the requirements needed now to run this hack now are none, the requirements are set to whatever functions you have set to work rather than just GD... Oh and i also made sure that possible security holes are covered to avoid someone sneaking in a abritary command when converting ... It will be posted on the 1st post as an attachment, enjoy |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|