Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-21-2002, 08:14 PM
Stealthy Stealthy is offline
 
Join Date: May 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Option to make photos show as a Thumbnail

I did a search but could not find exactly what I was looking for. I hope this hack is feasible.

What I am looking for is a way to make an attached photo in a post to show up as a Thumbnail instead of full size.

This would help cut down on bandwith when a thread contains a lot of different photos and generates a lot of views and would allow users to see the photo and decide whether or not they want to see the full size photo. It would also cut down on page load time since the page is a lot smaller in size.

Some features I would like to see in this hack:
1) A user can click on the thumbnail and would be taken to the full size photo.

2) Admin would be able to set the default width and height of the thumbnail inside the admincp.

3) Admin would be able to set each forum with thumbnail turned on or off and could also set all forums either on or off.

4) Admins/Mods would have the ability to bypass the default settings when they reply or start a new thread. There would be a check box next to the file upload box viewable only by Admins/Mods. This box would either be checked (thumbnail on) or unchecked (thumbnail off) depending on what the default for the forum is set in the admincp. Admins/Mods can either uncheck or check the box at their descretion. Admin can also set it so only they have the ability to change the defaults.

5) Admin has the ability to set the max file size for thumbnails in admincp.

6) Anything else that you can think of that will enhance this hack!

Thanks in advance if you want to try to code this hack!
Reply With Quote
  #2  
Old 09-22-2002, 12:13 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its take 3rd party extensions that many people dont have.
Reply With Quote
  #3  
Old 09-22-2002, 03:23 AM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Easy, I have the code for making thumbnails Put it in showthread.php, then add some tables and variablize stuff in the code, and have it pull necessary information from the database, like width size, etc...

I actually made an image gallery script based around this, but I havn't been able to release it due to the fact I work on weekends now, and go to school on weekdays, it should most likly be released tomorow.

-Arunan
Reply With Quote
  #4  
Old 09-22-2002, 05:44 PM
Stealthy Stealthy is offline
 
Join Date: May 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DrkFusion
Easy, I have the code for making thumbnails Put it in showthread.php, then add some tables and variablize stuff in the code, and have it pull necessary information from the database, like width size, etc...

I actually made an image gallery script based around this, but I havn't been able to release it due to the fact I work on weekends now, and go to school on weekdays, it should most likly be released tomorow.

-Arunan
Thanks for the promising news. Will your hack have all of the features that I described in my first post? Will it work the same?

Looking forward to seeing it!
Reply With Quote
  #5  
Old 09-22-2002, 06:19 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well its a new gallery system, more for sites to have an image gallery, this is the lite version, if you want, tell me the details of what your thinking, and I can try to apply it for this situtation.
Reply With Quote
  #6  
Old 09-22-2002, 08:53 PM
Stealthy Stealthy is offline
 
Join Date: May 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DrkFusion
if you want, tell me the details of what your thinking, and I can try to apply it for this situtation.
See first post...

That is what I am looking for.
Reply With Quote
  #7  
Old 09-22-2002, 10:58 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you want attatchments taht are images to be made into thumbnail?
Reply With Quote
  #8  
Old 09-22-2002, 11:00 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

or you could use the same techinique used for avatars...
isnt that alot easier? the file is already made in /admin folder all you have to do is play a little with the variables.

just a thought.
Reply With Quote
  #9  
Old 09-22-2002, 11:17 PM
Stealthy Stealthy is offline
 
Join Date: May 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DrkFusion
So you want attatchments taht are images to be made into thumbnail?
Yes.
Reply With Quote
  #10  
Old 09-23-2002, 12:27 AM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TECK
or you could use the same techinique used for avatars...
isnt that alot easier? the file is already made in /admin folder all you have to do is play a little with the variables.

just a thought.
Hey, whats the technique done in Avatars? I never new there was a technique for avatars.

-Arunan
Reply With Quote
Reply


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 09:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09584 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete