vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Resize all images after using thumbnails previously (https://vborg.vbsupport.ru/showthread.php?t=197307)

moondragon13 11-26-2008 04:36 PM

Resize all images after using thumbnails previously
 
I have historically allowed 2MB photos to be uploaded at any dimension/resolution. Then used the thumbnails feature.

At the request of several users we switched to have image attachments load inline. When you upload new attachments it resizes them to fit the max resolution that is now set.

However, there are several hundred that are their old size and need resizing. It seems the resizing in the counter area only rebuilds thumbnails.

Can someone help me write a script to resize all the jpeg attachments? I am willing to pay for it.

punchbowl 11-27-2008 03:43 PM

Not sure this will work BUT change to storing images on the filesystem. Download them then run a resize batch job from whatever photoapp you like (ps does this, so does psp), reupload.

Worth a shot.

moondragon13 12-12-2008 10:40 PM

Quote:

Originally Posted by punchbowl (Post 1674090)
Not sure this will work BUT change to storing images on the filesystem. Download them then run a resize batch job from whatever photoapp you like (ps does this, so does psp), reupload.

Worth a shot.

I would do that, however the attachments get renamed to .attach on the file server. Will Photoshop be able to recognize the JPEGs and make changes to just those files?

If there is anyone here that is willing to hack the vBulletin script that resizes thumbnails to resize regular photos I would be willing to pay. It has to be the same code right? Just change the directory to look in?


All times are GMT. The time now is 10:57 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.01819 seconds
  • Memory Usage 1,712KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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