vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Offering payment for...! (https://vborg.vbsupport.ru/showthread.php?t=46442)

buss2002 12-07-2002 12:01 AM

Offering payment for...!
 
Hi,
I just purchased VB 229 to find out what i have seen around
on other boards wasent in the VB:(

I need users to be able to see a thumbnail instead of
a text attachment when uploading a jpg picture.

I have ImageMagik installed and already running with Image Folio.

I have root access and the latest php installed on a apache server.

I am willing to pay to get this done if somebody is interested?

HEEEEEEELP!

resultater@hotmail.com

scoopster 12-07-2002 04:19 PM

there is an option in default vb installation, to show image instead of text link, maybe this is what you are after.

buss2002 12-07-2002 04:43 PM

Hi,
Thx but no...i wish to display a thumb and if people want to see
the full size image they can click on the thumb to see it full size.
like ex on this vb board who has auto creation of thumbnail.

http://mistressdestiny.com/forums/sh...?threadid=3978

Any suggestions/ideas/? :cross-eyed:

Larry@IOG 12-08-2002 05:20 PM

1 Attachment(s)
Replace your postbit_attachmentimage template with:

Quote:

<!--<p>--><smallfont>$post[username] has attached this image:<br>
<smallfont>Click For Full Sized Image:<smallfont><br>
<a href="attachment.php?s=$session[sessionhash]&postid=$post[postid]" target="_blank"><img src="attachment.php?s=$session[sessionhash]&postid=$post[postid]" alt="" width="150" height="150" hspace="4" vspace="8" border="0"></a>
</smallfont><!--</p>-->
You will get the image to appear like the attachment:


Larry

Boofo 12-08-2002 05:28 PM

What happens to the picture if it isn't perfectly square? Like 640x480? Won't it look wierd then? :)

Chris M 12-08-2002 06:04 PM

What if the image is smaller than 150x150;)

Satan

Larry@IOG 12-08-2002 06:26 PM

Quote:

Originally posted by hellsatan
What if the image is smaller than 150x150;)

Satan

It does but once you click the image it looks fine. Could you help with the smaller than 150x150???


I am sorry guys I just learned html in feb and now with the php stuff I am not that good;)


Look forward to your response


Larry

NTLDR 12-08-2002 07:29 PM

This may not be that hard, theres a gallery hack that uses ImageMagik that creates thumbnails for image based attachments, you would just need to modify the buildpostbit function to get it to use the thumbnail display it if its an image.

Boofo 12-08-2002 07:32 PM

Would you be willing to lend a hand on incorprating this, my friend? :)

NTLDR 12-08-2002 07:36 PM

I may have a look at it as I use the gallery hack already. I'll take a deeper look now and see if I think I can do it or not ;)


All times are GMT. The time now is 12:32 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.01449 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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