ryan Posted January 5, 2018 Share Posted January 5, 2018 I mentioned last week that we'd look at the roadmap this week. I'm actually still working on that, so will post the 2018 roadmap next week instead. But I do have a version update this week which adds some useful tools to our images field in the admin (InputfieldImage), and I think this is one that both you and your clients will find really handy. https://processwire.com/blog/posts/pw-3.0.88/ 11 Link to comment Share on other sites More sharing options...
adrian Posted January 5, 2018 Share Posted January 5, 2018 I am seeing an & in B&W: Link to comment Share on other sites More sharing options...
ryan Posted January 5, 2018 Author Share Posted January 5, 2018 I'm not seeing that here. Anyone else? If you view the source of the page, it should be encoded i.e. B&W. But it sounds like in your case it's getting double encoded for some reason. Can you confirm that if you view source, it looks something like B&W ? Link to comment Share on other sites More sharing options...
adrian Posted January 5, 2018 Share Posted January 5, 2018 Link to comment Share on other sites More sharing options...
ryan Posted January 5, 2018 Author Share Posted January 5, 2018 I'm not seeing it here, but since you are, I'm guessing it's probably language translation related. I just updated it to use entities1() rather than entities(), which accommodates cases where we don't know for sure if it's already entity encoded or not. This action is what you choose if you want to convert to Black & White, aka greyscale. 2 Link to comment Share on other sites More sharing options...
theo Posted January 5, 2018 Share Posted January 5, 2018 Same problem here. Works after update (entities1) Link to comment Share on other sites More sharing options...
matjazp Posted January 5, 2018 Share Posted January 5, 2018 +1 for entities1. I got this message: "Session: No handler found for action “Reduce 50%” on file ..." What handler? I guess this is because I don't have Imagick installed? Link to comment Share on other sites More sharing options...
Robin S Posted January 5, 2018 Share Posted January 5, 2018 Love the image actions feature, thanks! Especially looking forward to this one... Quote Cut, copy and paste (for movement of images between pages and/or image fields) ...as I had a need for this recently. I don't intend to give users access to the "special effect" options (B&W and sepia) for the same reason I wouldn't give users the ability to change fonts or text colours - there's always some editor who considers themselves an "artist" and will take a carefully designed site and turn it into a dogs breakfast. In case anyone else feels the same, it's simple to remove these with a hook in /site/ready.php: $wire->addHookAfter('InputfieldImage::getFileActions', function(HookEvent $event) { $actions = $event->return; unset($actions['bw']); unset($actions['sep']); $event->return = $actions; }); 7 Link to comment Share on other sites More sharing options...
szabesz Posted January 5, 2018 Share Posted January 5, 2018 3 minutes ago, Robin S said: In case anyone else feels the same Sure! No client should be allowed to play with their own site. It's a serious tool, not a kindergarten toy Thanks for sharing! 2 Link to comment Share on other sites More sharing options...
Robin S Posted January 5, 2018 Share Posted January 5, 2018 @ryan, in the blog post you give an example of the need for the image actions feature: Quote One being that it's just too slow of a process if you need to apply the same exact action to a bunch of images. What do you think about adding an interface that allows multiple images to be selected and then an action applied to those selected images? There was a question in the forums a while back about how tags could be applied to multiple images: I bookmarked this in my "to do" list because it's something that would be useful to implement. If there was an interface for selecting multiple images then maybe the new image actions feature could be a solution to this. Also, do you think it would be possible to create actions that, in a first step, open a dialog where options could be selected? So for example, if the action was "Move image to field" there could be a dropdown to select image fields on the page? This would be better than needing to have separate actions for each option. Maybe you could give a tutorial on creating image actions in a future blog post? 2 Link to comment Share on other sites More sharing options...
szabesz Posted January 6, 2018 Share Posted January 6, 2018 In addition to @Robin S's suggestion above, if ProcessWire 3.0.87's new features were extended as brainstormed in the post: Quote "...adding the ability for you to specify a different page where images should upload to. Once that's supported, it won't be necessary to have an images field on your page." also adding the possibility for an Images inputfield to upload to and/or pick images from another one (+ this supercharged Images inputfield being filterable) then we would finally have a very impressive set of image management features built in which have been sought after for years. 2 Link to comment Share on other sites More sharing options...
Juergen Posted January 6, 2018 Share Posted January 6, 2018 22 hours ago, adrian said: I am seeing an & in B&W: I am seeing this too. Link to comment Share on other sites More sharing options...
gmclelland Posted January 9, 2018 Share Posted January 9, 2018 @Juergen, I believe that is fixed in this commit https://github.com/processwire/processwire/commit/f3749d241a5f4da4d9df3731d1b99d001eaf0f50 1 Link to comment Share on other sites More sharing options...
szabesz Posted January 22, 2018 Share Posted January 22, 2018 I have "two" ProcessWire 3.0.88 "versions". One form January the 5th and the other one dowloaded today a few minutes ago. There are a couple of differences in the source code: Spoiler ProcessWire 3.0.88 diffs Produced: 2018. 01. 22. File: wire/modules/Inputfield/InputfieldAsmSelect/asmselect/jquery.asmselect.js 667 same line(s) 1 unimportant difference line(s) 4 important right orphan line(s) 2 important difference line(s) 2 difference section(s) File: wire/modules/Inputfield/InputfieldAsmSelect/asmselect/jquery.asmselect.min.js 2 same line(s) 1 important difference line(s) 1 difference section(s) File: wire/modules/Inputfield/InputfieldSelector/InputfieldSelector.module 2001 same line(s) 2 important right orphan line(s) 1 difference section(s) File: wire/modules/Jquery/JqueryUI/modal.js 500 same line(s) 1 important right orphan line(s) 1 important difference line(s) 1 difference section(s) File: wire/modules/Jquery/JqueryUI/modal.min.js 2 important difference line(s) 1 difference section(s) File: wire/modules/Page/PageFrontEdit/PageFrontEdit.module 1136 same line(s) 7 unimportant right orphan line(s) 2 important left orphan line(s) 36 important right orphan line(s) 2 important difference line(s) 6 difference section(s) File: wire/modules/Process/ProcessTemplate/ProcessTemplate.module 2996 same line(s) 3 important difference line(s) 3 difference section(s) Is it a common practice to introduce changes without changing the version number? I have not yet noticed such a thing before, but I must admit that this is the first time I checked... I noticed a difference in the ZIP's file size, so I compared the two. Link to comment Share on other sites More sharing options...
BitPoet Posted January 22, 2018 Share Posted January 22, 2018 On the dev tree it is. Ryan usually incorporates fixes there as soon as he has them ready without bumping the version number up. You can spot that when you look at the commit history. 1 Link to comment Share on other sites More sharing options...
szabesz Posted January 22, 2018 Share Posted January 22, 2018 3 minutes ago, BitPoet said: On the dev tree it is. Ryan usually incorporates fixes there as soon as he has them ready without bumping the version number up. You can spot that when you look at the commit history. Thank you! I have not yet realized it. Good to know Link to comment Share on other sites More sharing options...
Noel Boss Posted January 29, 2018 Share Posted January 29, 2018 I tried to find something in the forum and using google but I got stuck somewhere between imageSizerOptions and https://github.com/processwire/processwire/blob/master/wire/modules/ImageSizerEngineIMagick.module > and??? How exactly can I use actions from the API side? I'd like to convert Images to greyscale… Thanks for your help 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