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 |
#32
|
||||
|
||||
Thanks for the reply. I have tried many different settings to no avail. I am of the opinion there is a server issue with imagemagik and GD. Don't know what it is yet.
Thanks for the reply... |
#33
|
|||
|
|||
Will this be ported to vB3? I will be your dearest friend. Well, not quite that dear!
Regards, Matt |
#34
|
|||
|
|||
Thank you CVMagic, my problem is solved
|
#35
|
||||
|
||||
@tcs:
Can you try out one of the attachments and add &dl=1 to the url address and tell me what error it says, it might be a simple error that i could fix for you... @memobug: I believe vB3 has it built in but ill take a look at it and make it so, just as long as there is a demand for it |
#36
|
|||
|
|||
Hi CVMagic,
The resizing of image attachments to conform to max pixel sizes is not built in to vB3. What is integrated is a thumbnailing feature that will take your attachment (whatever size it is) and produce a thumbnail image that can be used for inline display (default is 100pix) - linked to the original, unresized image. vB3 does not manipulate images to conform to max size standards. If size checking is enabled, it will simply say the image is too large. For those others who have asked about having an auto-size feature, it was recommended at Vbulletin.com that a hack be requested at Vbulletin.org. I have seen a few requests already for avatar and profile picture resizing on this forum, too, so I am sure there is a demand for autosizing. Best, Matt |
#37
|
|||
|
|||
Hi CVMagic,
Many thanks for your feedback. Regarding safemode, I don't actually have this turned on and I don't have a particularly short timeout for scripts because some of the ones I run last 60 secs. Can you point me in the direction of any apache/php/linux settings that might give rise to problems when processing multiple images - and end up with broken images. I feel there's still hope for me, if I could just figure what's wrong. Nice work all the same. |
#38
|
|||
|
|||
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in /var/www/html/myphone/forum/attachment.php on line 199
Well, I have to say that $ImageMagick_enabled=1; and my path for imagekick is OK ('/usr/X11R6/bin/'), as I already use it for photopost. So, what's wrong |
#39
|
|||
|
|||
Now I get strange errors... Somethign changed but I don't know what
Code:
<br> <b>Warning</b>: stat failed for ./thumbs/'claudia.jpg'.tmp.155 (errno=2 - No such file or directory) in <b>/var/www/html/myphone/forum/attachment.php</b> on line <b>174</b><br> <br> <b>Warning</b>: Cannot add header information - headers already sent by (output started at /var/www/html/myphone/forum/attachment.php:174) in <b>/var/www/html/myphone/forum/attachment.php</b> on line <b>174</b><br> <br> <b>Warning</b>: fopen("./thumbs/'claudia.jpg'.tmp.155", "rb") - No such file or directory in <b>/var/www/html/myphone/forum/attachment.php</b> on line <b>175</b><br> <br> <b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>/var/www/html/myphone/forum/attachment.php</b> on line <b>176</b><br> <br> <b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>/var/www/html/myphone/forum/attachment.php</b> on line <b>177</b><br> |
#40
|
||||
|
||||
Quote:
|
#41
|
||||
|
||||
Quote:
You have the safemode problem, but give me a link ill look into it directly for you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|