Are you want to list only one image?

|
S 2022-05-02 09:30:54
How to pass upload image as json format in laravel API
neelbas 2022-05-02 09:48:15
I have a work schedule that only needs to be run once a day at 10am. To avoid unnecessary repetitions every minute (according to Laravel documents), I set it run in the cron every hour. But for example, cron runs at 10:02:34 a.m, then the Task does not run 🧐 How can I tell Laravel if today is after 10 a.m and today is the first time, then run the Task?
bsamaasi 2022-05-02 10:11:30
Elif 2022-05-01 23:13:56
Hi guys,
I’m trying to send mail notifications to collection of users and I want to use their name in mail like “Dear Name Surname,”. I can’t use $notifiable->name in toMail method because it is collection in my case. Is there a way to use username in mail?

Explain better

FlorianFalk 2022-05-02 10:58:25
Elif 2022-05-01 23:13:56
Hi guys,
I’m trying to send mail notifications to collection of users and I want to use their name in mail like “Dear Name Surname,”. I can’t use $notifiable->name in toMail method because it is collection in my case. Is there a way to use username in mail?

If you have a collection of users, you should have an collection with eloquent users. Than you iterate over this collection and call on every user the ->notify method.

https://laravel.com/docs/9.x/notifications#sending-notifications

Laravel – The PHP Framework For Web ArtisansLaravel
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Elif 2022-05-02 11:02:31
FlorianFalk 2022-05-02 10:58:25
If you have a collection of users, you should have an collection with eloquent users. Than you iterate over this collection and call on every user the ->notify method.

https://laravel.com/docs/9.x/notifications#sending-notifications

Thanks, Finally I did like this

berto309 2022-05-02 11:37:45
Hello guys .. please I need your suggestion. If you want to create an app with laravel for admins and customers and you want to api endpoints for customers because you want to use a mobile app, do you create two tables for users and admins or you create one table for both user types
Mr. T Edmond Joseph 2022-05-02 11:39:04
One table
Amit Sharma 2022-05-02 11:55:10
any one pls suggest i want to take only one image from here
Amit Sharma 2022-05-02 11:55:22
@php
$x = explode (“,”, $row->img_path);
@endphp
@foreach($x as $key => $val)
<img src=”{{ asset(‘storage/uploads/’ . $val) }}”>
@endforeach
Amit Sharma 2022-05-02 11:55:54
is it possible ?
shaikhmaazahmed 2022-05-02 12:34:48
Anyone from Mumbai? Laravel developer
anujrock1 2022-05-02 13:37:59
Amit Sharma 2022-05-02 11:55:22
@php
$x = explode (“,”, $row->img_path);
@endphp
@foreach($x as $key => $val)
<img src=”{{ asset(‘storage/uploads/’ . $val) }}”>
@endforeach

One image from where from $x ??

anujrock1 2022-05-02 13:38:59
Then simple replace $val to $x[0]
anujrock1 2022-05-02 13:40:13
This will selected first value from $x array
Amit Sharma 2022-05-02 13:40:46
inside foreach loop
anujrock1 2022-05-02 13:41:54
Are you want to list only one image?

Then don’t run for each loop

Just simple use img tag

anujrock1 2022-05-02 13:42:38
<img src=”{{ asset(‘storage/uploads/’ . $x[0]) }}”>
Amit Sharma 2022-05-02 13:56:04
actually what i want is
Amit Sharma 2022-05-02 13:56:18
laravel_discuss-119267.jpg

Amit Sharma 2022-05-02 13:57:27
like this
Amit Sharma 2022-05-02 13:59:17
laravel_discuss-119269.jpg

anujrock1 2022-05-02 14:00:43
Amit Sharma 2022-05-02 13:56:18

Thumb nail, or main image?

Amit Sharma 2022-05-02 14:01:32
it is working like main img with following imgs
Amit Sharma 2022-05-02 14:01:49
i get images
Amit Sharma 2022-05-02 14:02:34
but when i click on single image from slides
Amit Sharma 2022-05-02 14:02:46
i want that image as main
anujrock1 2022-05-02 14:03:04
You need to handle this through javascript
Amit Sharma 2022-05-02 14:03:19
Amit Sharma 2022-05-02 13:59:17

you can see this

Amit Sharma 2022-05-02 14:04:03
i can’t understand it how to do
anujrock1 2022-05-02 14:08:17
Amit Sharma 2022-05-02 14:04:03
i can’t understand it how to do

Bind on click event on thumb nail images

And get image path of that image on which click and set that path you main image tag

anujrock1 2022-05-02 14:09:18
There are losts of methods to do this
Krunal545 2022-05-02 14:24:05
We are Urgently Looking for
– Andriod developer
– iOS developer
– Laravel developer
– Unity 3D developer

Qualification : BE/ME(CE/IT), BCA/MCA, BSc IT/MSc IT, BTech/MTech
Location : Rajkot, Gujrat (IN)
Experience: Fresher can also apply (free training provided with stipend)

if you are interested you can share your resume, You can also refer to your friend
developers@techavtra.com
or contact me on +91 8460008773.

https://www.linkedin.com/posts/krunal-techavtra_androiddeveloper-iosdeveloper-job2022-activity-6899976941269585920-DNmu

Krunal Nagvadia on LinkedIn: #androiddeveloper #iosdeveloper #job2022Linkedin
We are Urgently Looking for
– Andriod developer
– iOS developer
– Laravel developer 
– Unity 3D developer  

Qualification : BE/ME(CE/IT), BCA/MCA, BSc…

neelbas 2022-05-02 14:46:45
I have a work schedule that only needs to be run once a day at 10am. To avoid unnecessary repetitions every minute (according to Laravel documents), I set it run in the cron every hour. But for example, cron runs at 10:02:34 a.m, then the Task does not run 🧐 How can I tell Laravel if today is after 10 a.m and today is the first time, then run the Task?
rlawjddn00 2022-05-02 14:51:17
what is “for” option in navbar-toggle in bootstrap 4?
Freelance_recruiter 2022-05-02 16:28:06
Hi Urgent Requirement

Immediate joiner

Role- Laravel developer

Full time on contract basis

Exp Required- 4+ years

work from home

If anyone interested ping me only Indian

|