SamC Posted November 25, 2017 Share Posted November 25, 2017 Just noticed a few new options have sprung up in v3.0.82 when I checked out my image field. Now I only wanted to control the height but the use client-side says: When using client-side resize, please specify both max width <em>and</em> max height in the fields above, or max megapixels in the field below. Am I to presume I was using server-side resizing before updating PW? I didn't choose client-side, this is how it looked when I just checked out the field. Also, if I haven't set a max width, is server side resizing the fallback or does non occur? Does client-side mean the original will not be on the server? I don't want to set a max width because it may be the case that the height ends up less than 1200px. Bit confused with this one. Any more info about these options would be awesome, thanks. 1 Link to comment Share on other sites More sharing options...
kongondo Posted November 25, 2017 Share Posted November 25, 2017 Not an answer, but just a clarification. Client-side image resize has been around since 3.0.63 Maybe the associated blog post answers your queries? 1 1 Link to comment Share on other sites More sharing options...
SamC Posted November 25, 2017 Author Share Posted November 25, 2017 6 minutes ago, kongondo said: Not an answer, but just a clarification. Client-side image resize has been around since 3.0.63 Maybe the associated blog post answers your queries? Ah, thanks for the link. My 3.0.41 install doesn't have these options though. Link to comment Share on other sites More sharing options...
kongondo Posted November 25, 2017 Share Posted November 25, 2017 2 minutes ago, SamC said: My 3.0.41 install doesn't have these options though. Like I said, available since 3.0.63 . That's 'later' (newer) than 3.0.41 . 1 Link to comment Share on other sites More sharing options...
SamC Posted November 25, 2017 Author Share Posted November 25, 2017 11 minutes ago, kongondo said: Like I said, available since 3.0.63 . That's 'later' (newer) than 3.0.41 . Hahaha wow, me are dumb. Saturday night on the PW forum, I need to go to bed! Link to comment Share on other sites More sharing options...
szabesz Posted November 26, 2017 Share Posted November 26, 2017 8 hours ago, SamC said: I didn't choose client-side, this is how it looked when I just checked out the field. Doesn't sound good to me, at least I would not like to encounter such an issue. I hope I will remember to check the image fields when I need to upgrade some old sites. If it happens automatically that is quite a breaking change Link to comment Share on other sites More sharing options...
kongondo Posted November 26, 2017 Share Posted November 26, 2017 11 hours ago, SamC said: I didn't choose client-side, this is how it looked when I just checked out the field. Also, if I haven't set a max width, is server side resizing the fallback or does non occur? Mine are all empty, except for the 90% JPEG quality (which on its own will not do anything). So, yeah, strange. In my case though, these are new installs; I didn't upgrade. Link to comment Share on other sites More sharing options...
SamC Posted December 3, 2017 Author Share Posted December 3, 2017 Ok so I read through this, client side seems a pretty good idea. What isn't so good is that it does require width and height settings whereas I used to just set the max height. I don't care about the width so much (no panoramic photos going on here). I'm uploading stock images so the sizes do vary. I'm not 100% sure how this works tbh. As it stands, I set the max-height to 1200 and use server side resize. I just uploaded an image of dimensions 1920x1280 and the resulting image on the server is 1800x1200. So I guess I could just set the max-width to some large value like 4000 (width will always be within this boundary) so the height will always end up as 1200. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now