# |
Mar 12th 2019, 11:44 |
neon1024 |
I tend to use `bin/cake cache clear_all` in Terminal |
# |
Mar 12th 2019, 11:44 |
yamcomnet |
how to use debug_kit with security and csrf? when trying to flush cache from web console i keep getting 403(forbidden) |
# |
Mar 12th 2019, 10:46 |
david |
thank you again ;) |
# |
Mar 12th 2019, 10:44 |
neon1024 |
I’ll have to update it for 4.0 that’s for sure |
# |
Mar 12th 2019, 10:43 |
neon1024 |
It could probably do with some updates I’m sure |
# |
Mar 12th 2019, 10:43 |
neon1024 |
I haven’t worked on the plugin in a while |
# |
Mar 12th 2019, 10:41 |
david |
xD |
# |
Mar 12th 2019, 10:40 |
neon1024 |
if i recall correctly |
# |
Mar 12th 2019, 10:38 |
david |
iirc? |
# |
Mar 12th 2019, 10:36 |
neon1024 |
iirc it should scale with the existing apsect ratio |
# |
Mar 12th 2019, 10:36 |
neon1024 |
It sure is |
# |
Mar 12th 2019, 10:31 |
david |
@neon1024 when making a thumbnail, is it required to set the height? is it possible only resize to a width without height? |
# |
Mar 12th 2019, 10:19 |
yamcomnet |
thanks @dereuromark @neon1024 |
# |
Mar 12th 2019, 10:19 |
yamcomnet |
ok. Think it was cache issue |
# |
Mar 12th 2019, 10:17 |
yamcomnet |
not sure if i understand what you mean? |
# |
Mar 12th 2019, 10:16 |
yamcomnet |
browser bottom right corner |
# |
Mar 12th 2019, 10:16 |
dereuromark |
maybe cache issue, clear it |
# |
Mar 12th 2019, 10:15 |
dereuromark |
use the documented recommended ones, e.g. .local |
# |
Mar 12th 2019, 10:15 |
yamcomnet |
bottom right corner it tries to show the bar |
# |
Mar 12th 2019, 10:15 |
dereuromark |
most likely wrong TLD locally, what is it? |
# |
Mar 12th 2019, 10:14 |
yamcomnet |
i think that it loads. Some reason it just does not show the bar? |
# |
Mar 12th 2019, 10:14 |
yamcomnet |
in bootstrap.php |
# |
Mar 12th 2019, 10:14 |
yamcomnet |
like: # Plugin::load('DebugKit', ['bootstrap' => true]); |
# |
Mar 12th 2019, 10:13 |
neon1024 |
@yamcomnet How are you loading the plugin? |
# |
Mar 12th 2019, 10:06 |
yamcomnet |
After update debug_kit 3.17.1 i get 404 /debug-kit/toolbar/874c4d32-4f9a-46ad-b10a-08ae7ce4e80f |
# |
Mar 12th 2019, 10:03 |
david |
'thumbnailSizes' => [ '500x500' => [ 'w' => 500, 'h' => 500, 'fit' => true, 'orientate' => true, // THIS DID THE TRICK ] ], |
# |
Mar 12th 2019, 10:02 |
david |
@neon1024 it works fine :) |
# |
Mar 12th 2019, 09:58 |
voycey |
As they are built in language functions would it just be a case of adding them to a Dialect? |
# |
Mar 12th 2019, 09:57 |
voycey |
What would be involved in taking PostGIS and its functions and "Cakeify'ing" them? |
# |
Mar 12th 2019, 09:55 |
david |
thank you :slightly_smiling_face: |
# |
Mar 12th 2019, 09:55 |
neon1024 |
Looks that way, I think that was what the PR was about :slightly_smiling_face: |
# |
Mar 12th 2019, 09:55 |
david |
so, I think that if I config my TN with orientate = true, it should work |
# |
Mar 12th 2019, 09:55 |
neon1024 |
It’s been a while ;) |
# |
Mar 12th 2019, 09:54 |
neon1024 |
Let me know if you have any quesitons and I’ll try my best to help out |
# |
Mar 12th 2019, 09:54 |
david |
if (!empty($config['orientate'])) { $image = $this->orientate($image); } |
# |
Mar 12th 2019, 09:54 |
david |
yes, I am reading your ImageTransform class |
# |
Mar 12th 2019, 09:54 |
neon1024 |
@david http://image.intervention.io/api/orientate |
# |
Mar 12th 2019, 09:45 |
neon1024 |
Don’t want to rotate all the things! ;) |
# |
Mar 12th 2019, 09:45 |
neon1024 |
As you probably want to try and detect the orientation, so that images uploaded without it skip any re-orientation code |
# |
Mar 12th 2019, 09:44 |
neon1024 |
I’d do it in my own transformer yeah |
# |
Mar 12th 2019, 09:42 |
david |
does it happen before the thumbnail generation? |