vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Server-side Thumbnailed Attachments (https://vborg.vbsupport.ru/showthread.php?t=59410)

tcs 01-29-2004 10:58 AM

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...

memobug 01-30-2004 05:59 AM

Will this be ported to vB3? I will be your dearest friend. Well, not quite that dear!

Regards,

Matt

FeKuLa 01-30-2004 04:46 PM

Thank you CVMagic, my problem is solved :)

CVMagic 01-31-2004 03:28 AM

@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

memobug 01-31-2004 06:44 AM

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

pigsy 02-01-2004 03:47 PM

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.

mskgr 02-06-2004 08:17 PM

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 :)

mskgr 02-06-2004 08:42 PM

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>

And yes, there is a thumbs directory on my forum path. And it's changed to 777, and guess what I see .tmp files in there :)

CVMagic 02-07-2004 01:49 AM

Quote:

Originally Posted by mskgr
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 :)

That might just mean that ImageMagick was not setup correctly so i skips over to the next thing which is GD, and seeing that your the rare few with GD 2.0 it passed the function checks but still you get that error.

CVMagic 02-07-2004 01:51 AM

Quote:

Originally Posted by mskgr
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>

And yes, there is a thumbs directory on my forum path. And it's changed to 777, and guess what I see .tmp files in there :)


You have the safemode problem, but give me a link ill look into it directly for you.


All times are GMT. The time now is 11:07 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01981 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete