WebsiteBaker Community Forum

WebsiteBaker Support (2.10.x) => General Help & Support => Topic started by: sky writer on January 28, 2018, 04:25:29 AM

Title: Media Image Auto Resize on Upload
Post by: sky writer on January 28, 2018, 04:25:29 AM
I notice that this was not implemented in 2.11.0 RC1.

So, I am asking again:

I am wondering if it can be considered by the dev team to implement this setting into the core code?  Or perhaps having global max width and height variables which could be set on the Media admin page or the Advanced Settings page?

In June 2017, it was mentioned by jacobi22 that this was discussed - https://forum.WebsiteBaker.org/index.php/topic,30322.msg211459.html#msg211459
Quote
P.S.: we discuss a solution like this in the last days, before we publish the WB 2.10.0, but at this point we has a feauture freeze. idea was a editable size in the globale wb-setting like your values as standard, nearly the same like your solution, but editable in the ACP
Title: Re: Media Image Auto Resize on Upload
Post by: Gast on January 28, 2018, 02:22:44 PM
go'es to my account - totally forgotten and set on the project page to solved (a mistake)    :oops: :oops: :oops: :oops:

is included now in the WB settings for the SuperAdmin only - he can set a global width and hight
if he dont set a width or height value, you have no limits in the upload

everybody with permissions for media administration && media-option can set the normal width && height for every folder inside of media (like the actual solution in this and older wb-version's)
with a setting in media-option for a special folder, you overwrite the global size settings, if you delete this setting later, the script use the global settings again.

Hint: the script does not show the globale values in every folder settings field for widht && height, it make's confuse, if you see the a long list with a lot of settings
the media options show only individual settings for a (sub-)folder
Title: Re: Media Image Auto Resize on Upload
Post by: sky writer on January 28, 2018, 04:03:30 PM
Not a problem.  I continue to add the code manually on my installs.  If it makes it into an upcoming version, I'm sure it would be useful to some other users as well.

Hint: the script does not show the globale values in every folder settings field for widht && height, it make's confuse, if you see the a long list with a lot of settings
the media options show only individual settings for a (sub-)folder

That is the best work-flow, I agree.  That way, any deviations from the global settings will stand out clearly.