vendredi 7 juin 2019

String replace in Laravel Blade

I have project in Laravel 5.8.

I have this code:

<a href=""><img
                                                src=""
                                                class="img-responsive center" alt=""></a>

This return me:

<a href="http://name.com/user/name/2"><img src="upload/images/UserImage/c561b1742783ed038521c488d1cd59a1.jpg" class="img-responsive center" alt="angel"></a>

I need replace this:

upload/images/UserImage/c561b1742783ed038521c488d1cd59a1.jpg

to:

upload/images/UserImage/thumbs3/c561b1742783ed038521c488d1cd59a1.jpg

How can I make it?



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2wFnqS5
via IFTTT

Aucun commentaire:

Enregistrer un commentaire