# |
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? |
# |
Mar 12th 2019, 09:42 |
david |
is the way? |
# |
Mar 12th 2019, 09:42 |
david |
I am looking the way to implement this using the "transformClass" option |
# |
Mar 12th 2019, 09:41 |
neon1024 |
I used something :flushed: |
# |
Mar 12th 2019, 09:41 |
neon1024 |
Er, Intevention even |
# |
Mar 12th 2019, 09:41 |
neon1024 |
I only used the Imagine library, so I bet that has some methods for managing that :slightly_smiling_face: |
# |
Mar 12th 2019, 09:40 |
neon1024 |
I think the image needs to contain special meta-data though which has the orientation |
# |
Mar 12th 2019, 09:40 |
neon1024 |
@david Yeah, someone submitted that as a PR |
# |
Mar 12th 2019, 09:40 |
david |
@neon1024 is there a way using Proffer to orientate a picture taken with a phone before generating the fhumbnails? |
# |
Mar 12th 2019, 09:39 |
acosonic |
To me "serverless" seems like struggling with "latest" and immature tech, just as you described it... |
# |
Mar 12th 2019, 09:34 |
acosonic |
Yeah I know, but they were really hard on me :slightly_smiling_face: I like virtualmin (cpanel alternative) and cakephp2, didn't have single second of downtime past 4 years... |
# |
Mar 12th 2019, 09:32 |
neon1024 |
Otherwise we’d all be writing stuff in Javascript, changing framework every two weeks and deploying to all kinds of cloud setups |