-
Posts
4,077 -
Joined
-
Last visited
-
Days Won
87
Everything posted by horst
-
It is not a "PW text editor", it is the "CK-Editor". Please follow the given links in the editorfields configuration screens to all those documentations of the CK-Editor.
-
yep the response tab should be the right if it says no response available, it is liyng to you, as it then cannot parse a json value. ??
-
Hi Joss, what is the return value of that js json parse error? It will be a PHP error. You may have a look into the server reponse of that ajax upload request in the network tab.
-
Here is a good starter profile based upon the twitter bootstrap framework: https://processwire.com/talk/topic/13572-bootstrap-4-minimal-site-profile/
- 5 replies
-
- 1
-
- collection
- collector
-
(and 1 more)
Tagged with:
-
Are you sure that you dealing with the right pages / objects in $repeaterItem? Where do you call that, in template scope? How have you set outputformatting, true or false? Have you saved the page after changing the status?
-
unfortunately not. But you may find a good startingpoint here: https://processwire.com/talk/topic/14072-add-image-from-input-typefile-possible-or-must-it-be-wireupload/#comment-126476 look at the $filename = myImageExtract($data, $basename); part, - specially the function myImageExtract with the WireTempDir class.
-
Have updated it now to version 0.9.17. There was another one pending with this part of the code. I thought I had already comitted it. Sorry!
-
Plans yes, - but currently no time. It will need a complete redesign of the storage. Currently it is stored with the original files in IPTC, and thats not supported by PNG and GIF.
-
@FrancisChung, uhhm, I changed wire-> to $wire-> on the fly for the example to be more future ready with PW3 and possible multi instances. So, please, can you test if it works with this too: if($u) { $wire('user')->user = $u; } (see the preceding $, to invoke the instances aware $wire, and not the (static) main wire instance)
-
// example // PW3, bootstrap check user-account $PWuser = empty($_GET['user']) ? '' : $_GET['user']; $PWpass = empty($_GET['pass']) ? '' : $_GET['pass']; if(!$wire->get('user')->isLoggedIn() || !$wire->get('user')->hasRole('superuser|chef')) { $u = $wire->get('session')->login($PWuser, $PWpass); if($u) { $wire->get('user') = $u; } if(!$wire->get('user')->isLoggedIn() && !$wire->get('user')->hasRole('superuser|chef')) { echo "\n\nERROR: Incorrect User-Login!\n\nScript stops now!\n"; exit(1); } echo "\nSuccessful logged in as: " . $wire->get('user')->name ."\n"; } else { echo "\nAllready logged in as: " . $wire->get('user')->name ."\n"; }
-
This is not intended, but its previous state is only saved for jpegs, not for png or gif formats.
-
Can you post an issue on GitHub?
-
I can confirm this! Have seen this yesterday and wanted to investigate a bit further, but haven't had time. Have you tried copying that block into site/config.php, after the part where you set other chmod values?
-
Have you tried to login a specific user from within the script? Maybe a specialy created user 'cli', who has superuser rights granted? I'm not sure, but if you run that script form the browser, and you was logged in before with your admin account, than the script also runs in that account.
-
I have upgraded a site yesterday too. Here everything is working as expected. With both, existing and new created images. (PW 3.0.39 to 3.0.43)
-
-
Based on my experiences with several thousand images of mine, several thousand images of my customers and many image variations from many sites around the world (from the showcase directory), I can say: The core rendering engines seem to do a pretty good job ! But that are just my experiences.
-
CroppableImages uses the core images rendering engines. So there is no special "Croppable image rendering". Your original image left is very blurry, and the one on the right site is much to much sharpened. Please try a variation with sharpening soft or none.
-
Hhm, I agree. I need to check this. Thanks.
-
Holy ghost, @CaelanStewart, it feeled that you have liked my post just before I had posted it!?!
-
@CaelanStewart: I have added it, but changed the default! So, everytime now you get a refreshed version. I think that way round it is more like the common expectations. Only if one have a more advanced usecase, he may be aware of the switch and has a need for it. https://github.com/horst-n/PageImageManipulator/commit/ef8a6af6acc49e31d39fa63d6faa696428e30f83
-
Hi @CaelanStewart, thanks for trying out and debug the PIM. First thing, - in your code example above, you only have specified the mandatory $prefix in the first call of ->pim2load(). The other calls are completly empty, what may lead to the max_execution_time timeout. Please check, if you really call it without defining a prefix in your code at the webserver, or if you only forgott it in the example above. (?) With the issue you find out about the cached variations array, please try to comment out the line 796 in ImageManipulator02.class.php and see, if this makes a difference, please.
-
No, it should work with whatever PW accepts via installed ImageRenderingEngine-Modules. Your Image is black. How work this image out with api rendered image variations? What is the source image type(s)? Is it with all images, regardless of type / format?
-
instead of trying to figure out elsewhere if a class is loaded (file is included) or not, i only do it inside the file that should be included. if(!class_exists("myClassName")) { class myClassName { // ... } } This way, one can include it multiple times in any order from everywhere without worrying.