# |
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 |
# |
Mar 12th 2019, 09:31 |
neon1024 |
Dinosaur is a bit harsh really, just because you’re not using some new fangly doodad doesn’t mean anyone is anything |
# |
Mar 12th 2019, 09:31 |
neon1024 |
We don’t really need it just yet |
# |
Mar 12th 2019, 09:30 |
neon1024 |
We will be moving to AWS in the future, but we haven’t yet |
# |
Mar 12th 2019, 09:30 |
acosonic |
@neon1024 I am being flagged as "dinosaur" for not trusting AWS and similar :slightly_smiling_face: I guess there are more of us here :) |
# |
Mar 12th 2019, 09:26 |
neon1024 |
Well, that’s a handy link! Thanks @acosonic |
# |
Mar 12th 2019, 09:17 |
acosonic |
There is even some official docs... https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/php-cakephp-tutorial.html |
# |
Mar 12th 2019, 09:16 |
acosonic |
Thanks, one more question. Anyone have experience with "serverless" and cakephp? |
# |
Mar 12th 2019, 09:14 |
neon1024 |
I tend to drop these into every project in most instances |
# |
Mar 12th 2019, 09:14 |
neon1024 |
muffin/slug |
# |
Mar 12th 2019, 09:14 |
neon1024 |
foc/search too |
# |
Mar 12th 2019, 09:14 |
neon1024 |
@dereuromark IdeHelper is good too if you’re in PHP Storm |
# |
Mar 12th 2019, 09:13 |
neon1024 |
Stuff like bootstrap-ui, crud, trash |
# |
Mar 12th 2019, 09:13 |
neon1024 |
Most of the ones I use are on this list, but I don’t use all of the ones on the list |
# |
Mar 12th 2019, 09:13 |
neon1024 |
https://github.com/FriendsOfCake/awesome-cakephp |
# |
Mar 12th 2019, 09:12 |
acosonic |
@neon1024 any list you can point me towards? |