Author Topic: Media Image Auto Resize on Upload  (Read 528 times)

Offline sky writer

  • Posts: 926
Media Image Auto Resize on Upload
« 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

Offline jacobi22

  • Posts: 5843
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Media Image Auto Resize on Upload
« Reply #1 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
Wer nicht will, findet Gründe, wer will, findet Wege.

Offline sky writer

  • Posts: 926
Re: Media Image Auto Resize on Upload
« Reply #2 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.

 

postern-length