vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   resize images.... (https://vborg.vbsupport.ru/showthread.php?t=46373)

WoodiE 12-04-2002 03:46 PM

resize images....
 
I have a lot of members that like to post pictures of different things, and most of the users dont know how to resize their images. So when they post them in the forum using [.img][/.img] they are usually very large images.

What I am looking for is something that will resize images or constrant images that are in posts using [.img][./img] for them. This way anyone can post a picture without having to worry about resizing them first.

Something that will make them no large then 400x400. Is there a way to do that?

-WoodiE

Dark_Wizard 12-05-2002 08:39 AM

Quote:

Originally posted by WoodiE
I have a lot of members that like to post pictures of different things, and most of the users dont know how to resize their images. So when they post them in the forum using [.img][/.img] they are usually very large images.

What I am looking for is something that will resize images or constrant images that are in posts using [.img][./img] for them. This way anyone can post a picture without having to worry about resizing them first.

Something that will make them no large then 400x400. Is there a way to do that?



-WoodiE

There is a hack already done...use the search to find it.

Sebastian 12-05-2002 10:19 AM

I actually requested this a few months ago..

Tim actually gave me a bit of code... it resizes the images to say 640* then makes the image clickable so you can view it's original size, but the problem is when a tiny picture gets uploads, say 200* pixels it will be enlarged to 640* LOL

it definitely can be done by using php's GET image size so it only resize images bigger than lets say 640* and won't touch anything smaller, unfortunately I have an idea how to do it but have been unsuccessful ..

someone make a similar hack here: https://vborg.vbsupport.ru/showthrea...617#post310617

but it lacks support as to how to get it to work....

this would be one hack I have been trying to get for the longest..

someone make it! :)

WoodiE 12-05-2002 02:13 PM

Quote:

Originally posted by Dark_Wizard


There is a hack already done...use the search to find it.

Dont you think it would be just as easy to give me a link to the hack? I've done a seach and all I found was resizing avatars NOT images that are in posts using the [.img] tags.


Sebastian - The link you gave me looks to be for attachments, not images that are in the [.img] tags.


-WoodiE

Sebastian 12-05-2002 10:11 PM

oh you want resize using [img] tag... sorry I thought you meant attachment images... I'll see if I can find it.


All times are GMT. The time now is 12:10 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.01061 seconds
  • Memory Usage 1,719KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete