PDA

View Full Version : how did vbulletin.org reduce the size of my image?


rnmcd
01-23-2008, 08:40 PM
I attached this 93kb image in a different thread:
https://vborg.vbsupport.ru/attachment.php?attachmentid=74864&d=1201113813

How did it get reduced from 93kb to 50kb?

I uploaded the same image on vbulletin.com and it stayed at 93kb when it was uploaded.

Thanks.

Wayne Luke
01-23-2008, 08:51 PM
vBulletin.com has larger upload limits than vBulletin.org. vBulletin will automatically resize images that are larger than the limits imposed.

rnmcd
01-24-2008, 01:22 AM
I understand that but the vBulletin.org Max Filesize is 1.00 MB. The file I uploaded was 93kb and it got resized to 50kb. How did that happen?

It sounds like a useful feature if I can figure out how to do it.

nexialys
01-24-2008, 11:04 AM
this was discussed many times by people like you, in need of the feature... this is a custom code which was not released here... i suppose you can ask a coder to do it, but i am sure the vB.org team will not released it directly...

Wayne Luke
01-24-2008, 12:35 PM
I understand that but the vBulletin.org Max Filesize is 1.00 MB. The file I uploaded was 93kb and it got resized to 50kb. How did that happen?

It sounds like a useful feature if I can figure out how to do it.
Most likely your file was over the maximum width which is 700 pixels. vBulletin.com allows images up to 1024 pixels in width.

Princeton
01-24-2008, 12:55 PM
no trick really ..
as Wayne mentioned, image was resized based on settings - this is a standard feature of vBulletin

Attachment Manager - Max Width
vBulletin Options - Resize Images

rnmcd
01-24-2008, 07:51 PM
Can it also resize files that are over a specified maximum file size (ie., 500 kb)?

SEOvB
01-25-2008, 09:03 AM
Can it also resize files that are over a specified maximum file size (ie., 500 kb)?


vBulletin.com has larger upload limits than vBulletin.org. vBulletin will automatically resize images that are larger than the limits imposed.


I can see how you easily over looked that, being the second post (and also one before yours), in such a huge discussion

zooki
01-25-2008, 03:55 PM
If I can resize some of my members that would be good feature !!! haha

sometimes, they need to be shrunk and made smaller too. ;)

Wayne Luke
01-25-2008, 04:34 PM
Can it also resize files that are over a specified maximum file size (ie., 500 kb)?
It does it by filesize and dimensions. However filesize resizing can fail if it can't get it lower than maximum allowed in a single pass.

kiwivc
06-27-2008, 01:42 AM
I've used the following mod to keep images below a certain threshold. It's been excellent.

Dynamic Picture Resize for [IMG] tag (https://vborg.vbsupport.ru/showthread.php?t=157228)