News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

Resize images

Started by Ricsca, March 15, 2023, 07:46:32 AM

Previous topic - Next topic

Ricsca


Ah ok, now I understand what you mean.
SMF, as far as I know, doesn't have anything like this (and it wouldn't be a bad idea actually), apart from the mod you linked.
Unfortunately it has not been updated for version 2.1

Steve

Has this been split off and you're referring to a different topic?
My pet rock isn't well today. I think it's stoned.

Ricsca

I would like to understand how to resize the images that a user uploads to save MB

@rjen

Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Ricsca

Because this basic option is not in smf core.
With this application, a 7MB photo became 159.66KB

Arantor

This isn't a 'basic' option, this is surprisingly complicated to get right and it needs to be optional because photography forums and art forums will want the images not resized or compressed. And for some of the images I've had uploaded in the past, it was actually impossible to resize the image on the server.

But there is a mod as mentioned that can do this for many images.

Ricsca

99% of forums are not about art or photos.
More than 80% of forum traffic comes from mobile phones.
The admin must decide whether or not to activate the resizing as happens for all cims (wordpress, joomla, magento, prestashop etc. but also xenforo, vbulletin or ipb).
The photo I resized with that plugin is 44 times smaller.
Today users upload a lot of photos with their mobile phone and the site admin can't have hundreds of GB of space occupied by large photos if he doesn't need it.

@rjen

So, use that mod. I know I do
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Advertisement: