You know that using the client original name if another user store a image with the same name it will overwrite the file and both will have access to the same?

|
k_ankit05 2020-10-31 16:46:23
laravel_discuss-57348.jpg

k_ankit05 2020-10-31 16:46:39
see the profile part here
k_ankit05 2020-10-31 16:47:01
its not giving output…
TheFeLuM 2020-10-31 16:55:05
laravel_discuss-57351.jpg
hello guys i have a issue i try to insert images with this method but ave problem
TheFeLuM 2020-10-31 16:55:51
why laravel create another folder with name and afther that insert image in somethink string name
TheFeLuM 2020-10-31 16:56:16
i try to set storeAs but id doesn’t work
DesolatorMagno 2020-10-31 16:56:43
TheFeLuM 2020-10-31 16:55:05
hello guys i have a issue i try to insert images with this method but ave problem

Is doing what you tell it to do.

k_ankit05 2020-10-31 16:56:51
TheFeLuM 2020-10-31 16:55:05
hello guys i have a issue i try to insert images with this method but ave problem

can u solve my error??

TheFeLuM 2020-10-31 16:57:40
DesolatorMagno 2020-10-31 16:56:43
Is doing what you tell it to do.

ok and how can i sole this problem witch method i must use ?

DesolatorMagno 2020-10-31 16:59:30
You know that using the client original name if another user store a image with the same name it will overwrite the file and both will have access to the same?
TheFeLuM 2020-10-31 17:01:11
i wil try to use original extension for that
TheFeLuM 2020-10-31 17:01:22
but can’t understand how to fix that path
DesolatorMagno 2020-10-31 17:12:19
You are using original name, no original extension
profsr123 2020-10-31 17:12:53
any body knows uploading image using cropper js
DesolatorMagno 2020-10-31 17:12:59
And store save with a unique generated name, it will determine the extension by itself.
DesolatorMagno 2020-10-31 17:13:25
You only tell it the path, nothing else
DesolatorMagno 2020-10-31 17:18:32
You are passing the name in the path of you put image.jpg there of course it will make s image.jpg folder.
DesolatorMagno 2020-10-31 17:19:18
And / is s folder separator so, image/./jpg will create 3 folder.
TheFeLuM 2020-10-31 17:22:30
DesolatorMagno 2020-10-31 17:19:18
And / is s folder separator so, image/./jpg will create 3 folder.

laravel_discuss-57366.jpg

TheFeLuM 2020-10-31 17:23:07
so i solve about storing in storage/app/images but now problem is, is not getting in DB
DesolatorMagno 2020-10-31 17:24:32
Really?
DesolatorMagno 2020-10-31 17:24:47
The name is there, just save the client original name
TheFeLuM 2020-10-31 17:30:06
laravel_discuss-57370.jpg

TheFeLuM 2020-10-31 17:30:16
DesolatorMagno 2020-10-31 17:24:47
The name is there, just save the client original name

it’s not save image in BD

DesolatorMagno 2020-10-31 17:31:02
You are using Laravel, you don’t need the full route, only the name and you access it using a disk instance and storage.
DesolatorMagno 2020-10-31 17:31:48
There are examples in the documentation of all of that.
TheFeLuM 2020-10-31 17:32:33
i mean
TheFeLuM 2020-10-31 17:32:44
laravel_discuss-57376.jpg
is not save image in DB
TheFeLuM 2020-10-31 17:32:54
column image is missing
DesolatorMagno 2020-10-31 17:33:02
The file???
TheFeLuM 2020-10-31 17:33:53
yes
DesolatorMagno 2020-10-31 17:34:33
RTFM, I am off.
alaa_dev 2020-10-31 17:41:30
hi eveyone how r u
alaa_dev 2020-10-31 17:41:49
i need to dashbord free
alaa_dev 2020-10-31 17:43:11
Does anyone have any template
DesolatorMagno 2020-10-31 17:51:46
There are many dashboard out there, I think adminer is the more popular.
JoaquinVilchez 2020-10-31 18:41:43
Hello I have a problem with a Laravel Policy
It works perfectly for me in Homestead, but in DigitalOcean it doesn’t work for me … that is, in Homestead, the policy passes perfectly, but when I’m in digitalocean it appears: 403 This action is unauthorized.

Did it happen to anyone or do you know what to do?

JoaquinVilchez 2020-10-31 18:42:31
laravel_discuss-57387.jpg

JoaquinVilchez 2020-10-31 18:42:45
laravel_discuss-57388.jpg

Pro 2020-10-31 18:45:42
alaa_dev 2020-10-31 17:43:11
Does anyone have any template

Voyager

2020-10-31 19:51:11
laravel_discuss-57391.jpg
Hi, how to for loop into map() collection ?

I want to join $numberPhone to $collection, and result like $collectionHasil

Acird Burn 2020-10-31 22:14:44
is thier anyone who can decode a base 64 php file
Ar Hasan 2020-10-31 23:04:22
laravel_discuss-57396.jpg
i don’t understand , how to create this api , anyone help me and what is the step this problem.😐
DesolatorMagno 2020-10-31 23:28:19
That don’t see like nothing from another world.
2020-10-31 23:52:02
Ar Hasan 2020-10-31 23:04:22
i don’t understand , how to create this api , anyone help me and what is the step this problem.😐

Why don’t you ask directly to client for better understanding what he actually needs and then code in your own way and make output as required by client.

Ar Hasan 2020-11-01 00:16:50
actually, it’s a job test.
ili145 2020-11-01 00:34:52
laravel_discuss-57402.jpg
what is error
DesolatorMagno 2020-11-01 01:48:24
Search where you are using that class, it say that it can’t found it, so maybe you import it wrong.
ili145 2020-11-01 01:50:13
i searchead but not found anything
ili145 2020-11-01 01:50:57
DesolatorMagno 2020-11-01 01:48:24
Search where you are using that class, it say that it can’t found it, so maybe you import it wrong.

..

|