Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-29-2001 Last Update: Never Installs: 26
 
No support by the author.

Instructions in the ZIP file (gallery.txt). Should explain most details of installation. I haven't done an INSTALL from scratch, so you get to beta test that part of the program.

The gallery itself seems quite stable. I added some load limiting/checking options before releasing as well. Let me know how your installs go, features you'd like to see, etc.

If you want to see an example:

http://www.noows.com/gallery.php?s=&forumid=88

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 07-02-2001, 11:51 AM
Sarge
Guest
 
Posts: n/a
Default

/usr/X11R6/bin/convert

Is my path....

It is right in the options.. still looking at broken thumbd.

HELP!
Reply With Quote
  #53  
Old 07-02-2001, 12:19 PM
mojotim mojotim is offline
 
Join Date: Oct 2001
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by mojotim
Telnet in and go to a directory where you have some images.

Then type this:

convert -geometry 120x120 filename.jpg new_filename.jpg

this will create a thumb 120x120 of filename.jpg

You say you have ImageMagick but no thumbs to prove it. Try to do this telnet operation and see if it works.
Reply With Quote
  #54  
Old 07-02-2001, 03:14 PM
Zamtil
Guest
 
Posts: n/a
Default

Please check to see if you're running in safe mode.

An easy way to do this is to create a file called phpinfo.php. It should contain these 3 lines:

<?php
phpinfo();
?>

Put it in your forums directory and point your web browser at it. If you search for 'safe_mode', you should find 2 lines. safe_mode and safe_mode_exec_dir. If safe_mode is on, then safe_mode_exec_dir HAS to contain your a copy of convert. If you don't have shell access/admin access to your server, I doubt you will be able to make this change.
Reply With Quote
  #55  
Old 07-02-2001, 03:51 PM
Sarge
Guest
 
Posts: n/a
Default

safe_mode
Off Off

http://www.dlrarmy.com/forums/phpinfo.php
Reply With Quote
  #56  
Old 07-02-2001, 06:15 PM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Safe mode off/off here too and images still not making it into the table.

http://www.glidetech.com/phpinfo.php
Reply With Quote
  #57  
Old 07-02-2001, 06:39 PM
Zamtil
Guest
 
Posts: n/a
Default

Quote:
Originally posted by TechTalk
Safe mode off/off here too and images still not making it into the table.
Is the filedata field in the thumb table blank? Trying to figure out if the error is in making the thumbs or just displaying them.

You can also try remarking out this line in functions.php:

unlink($thumbname);

Just put a // at the start of the line.

Then make a dumby post, with a BMP/JPG/GIF attachment. If ImageMagick part is working, it'll create a file:
/tmppath/th_[randomstuff].

/tmppath is most likely /tmp, but may vary.
Reply With Quote
  #58  
Old 07-02-2001, 06:49 PM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My problem is with it being added to the DB. Looking at it thru phpmyadmin there are no records there.

I guess I will try the thing you mentioned above, although im not sure what difference that will make

~Chris
Reply With Quote
  #59  
Old 07-02-2001, 06:56 PM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK just tried that. The th_ files are showing up each time i post an image. They are all 0kb though
Reply With Quote
  #60  
Old 07-02-2001, 06:59 PM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another note. Running the gallerymakethumbs.php file also puts a temp file in the tmp directory for each attachment i have (all 0KB) but still nothing in the DB

~Chris
Reply With Quote
  #61  
Old 07-02-2001, 07:06 PM
Zamtil
Guest
 
Posts: n/a
Default

Quote:
Originally posted by TechTalk
Another note. Running the gallerymakethumbs.php file also puts a temp file in the tmp directory for each attachment i have (all 0KB) but still nothing in the DB

~Chris
Ok, what version of ImageMagick do you have installed? If it's RedHat, should be able to just: rpm -q ImageMagick at the command prompt.

If it's older then 5.3.3-2, let's try simplifying your convert statment. In functions.php, find this line:

PHP Code:
system("$galleryconvert -geometry '160x120>' $path -flatten -quality '75' JPEG:$thumbname"); 
and change it to
PHP Code:
system("$galleryconvert -geometry '160x120>' $path -quality '75' JPEG:$thumbname"); 
The -flatten parameter "flattens" out animated GIFs. Otherwise, convert tries to make a JPG for each frame of the GIF. 10 frames = 10 files, makes a real mess in the /tmp directory.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:04 AM.


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.14980 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete