vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Upload image of any filesize and dimension then resize large image (https://vborg.vbsupport.ru/showthread.php?t=93250)

mvigod 07-31-2005 12:46 AM

Upload image of any filesize and dimension then resize large image
 
This was a hack we did on our asp based forum but I have not had time yet to figure out how to do it on VB. Imagine a board without file size limits for users to upload their images to. Rather than require the user to resize an image to constrain the pixel dimension or filesize you can have GD/PHP do it for them. Users are typically displeased to have to resize images on their own and if VB did it for them it would be welcomed by many.

I took a quick peek at the classes and figure you have to examine the pixel dimension on the large image being uploaded then if it exceeds either your max height or max width you resize it down to proper dimensions (same as thumbnail routine).

MrNase 10-01-2005 11:40 AM

I want to have this too :)

MrNase 10-01-2005 01:36 PM

I have your hack installed and tried to port it to vB3.5 but as you said too many things have changed :(

mvigod 10-01-2005 10:31 PM

Kirby said he would try and port this to 3.5 now that it is gold. you might want to PM him and see if he has it on his things to do list still.

marc

MrNase 10-12-2005 09:35 PM

I pmed Kirby but I never got a reply :(

Chris M 10-12-2005 09:57 PM

An important thing to remember is that your images will be limited by the upload limit of PHP itself, so it's not "limitless" ;)

Chris

MrNase 10-13-2005 08:54 AM

Well yeah but my upload limit is set to 250 MB and I highly doubt someone will upload images from that size :D

MacMorag 10-13-2005 10:48 AM

I would love this too.

With the option of creating a thumbnail of the uploaded image - in addition to the initial resize.

Chris M 10-13-2005 11:02 AM

Quote:

Originally Posted by MrNase
Well yeah but my upload limit is set to 250 MB and I highly doubt someone will upload images from that size :D

I will just to be annoying ;)

Chris

MrNase 10-13-2005 04:41 PM

Trust me.. You won't ;)

Please.. Can someone make this hack/plugin/whatever for us?! WE really need this one..


All times are GMT. The time now is 06:53 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.00980 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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