titanium Posted January 4, 2018 Share Posted January 4, 2018 Hi folks, before I'm going to submit a bug report, I would like to make sure it's not my setup. Since commit bac60dc340d66766e7b9c0ce811a2ae152585123 I can't crop any png image (not by api, backend is meant, see screenshot). Could someone with ProcessWire 3.0.86 or 3.0.87 try this and report back here? Many thanks in advance! 2 Link to comment Share on other sites More sharing options...
dragan Posted January 4, 2018 Share Posted January 4, 2018 (edited) With 3.0.86 in Firefox Quantum (Windows 10) I see all kinds of weird stuff: First time after saving a new PNG (upload pic, save page), then click on "crop", I get weird dimensions: someting like 1200 x 33px instead of 1200x1800px. Second try: Image shows in correct width/height proportions, crop seems to work alright. I hit save, and "save as copy", but I get an exact same size copy as the original. No error messages either in JS console.* A third try on that "cropped, but not actually cropped" image gets more weird: the image is now shown as a 50x60px thumbnail, but the values in pixels show something else entirely. * I get heaps of CSS warnings though: e.g. cropper.min.css Editing / cropping JPGs works fine, btw. Edited January 4, 2018 by dragan clarification about JPGs 2 Link to comment Share on other sites More sharing options...
horst Posted January 4, 2018 Share Posted January 4, 2018 maybe it is also of interest in which admin theme you are working Link to comment Share on other sites More sharing options...
dragan Posted January 4, 2018 Share Posted January 4, 2018 UIKit Link to comment Share on other sites More sharing options...
fbg13 Posted January 4, 2018 Share Posted January 4, 2018 I can confirm this, tested with PHP 7.1/7.2, PW 3.0.87/86 on Opera and FireFox, both uikit and default themes. 2 Link to comment Share on other sites More sharing options...
gmclelland Posted January 4, 2018 Share Posted January 4, 2018 Just tried...I'm seeing this as well on PW 3.0.87 in Chrome/Mac using uikit and PHP 7.1.12. I tried a jpg and it worked fine. Opened an issue for this at https://github.com/processwire/processwire-issues/issues/465 1 Link to comment Share on other sites More sharing options...
theo Posted January 4, 2018 Share Posted January 4, 2018 GIF doesn't work either. JPEG works. 1 Link to comment Share on other sites More sharing options...
gmclelland Posted January 4, 2018 Share Posted January 4, 2018 Thanks @theo, I updated the github issue. 3 Link to comment Share on other sites More sharing options...
theo Posted January 5, 2018 Share Posted January 5, 2018 Seems to be fixed in 3.0.88 1 Link to comment Share on other sites More sharing options...
gmclelland Posted January 5, 2018 Share Posted January 5, 2018 Yes, I can confirm PNG and GIFs are working now with 3.0.88 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