Question: Broken Uploaded Image Links - Articles And Logos

Broken Uploaded Image Links - Articles And Logos

The images of the articles or logos for the tickets that are uploaded to the system via upload combo are not displayed correctly, it seems that the link to the images is broken. Is it neces

MA

MAG Digital Agency

Asked

The images of the articles or logos for the tickets that are uploaded to the system via upload combo are not displayed correctly, it seems that the link to the images is broken.

Is it necessary to assign permissions via FTP to the “public/images” folder? Or perform any other additional configuration?

We have also created a user role called “director” with all possible permissions and when the user connects it does not let him manage the locations. We can only create or modify locations from the main administrator account.

EDIT: I have tried the solution that was given to another MPS user but it still does not work, we have executed the php artisan command both from the URL in “commands” and in our Plesk from the Lavarel application manager but it indicates that the link already exists .

https://tecdiary.net/support/question/avatar-not-showing-when-uploading-images

"Hello,

Please run php artisan storage: link or login as super then visit the /commands/storage_link in browser to run the command.

Thank you"

Thanks

  • MA

    MAG Digital Agency

    Answered
  • MS

    Mian Saleem

    Answered

    Hello,

    I think that command doesn’t force the links but only creates if they didn’t exist.

    Please try php artisan storage:link --force and let me know the output.

    Thank you

  • MA

    MAG Digital Agency

    Answered

    Hi

    php artisan storage:link --force

    ERROR The [public/storage] link already exists.

    ERROR The [public/images] link already exists.

    Nothing happen, need help with this problem, thx!

  • MS

    Mian Saleem

    Answered

    Hello,

    Another user has the same image display issues.

    Please try manually deleting the public/storage and public/images and then run php -d memory_limit=128M artisan storage:link --force

    Thank you

  • MA

    MAG Digital Agency

    Answered

    Hello, we have already solved it. In case any other user is interested, when we unzipped the MPS ZIP, it gave us an error in the storage/link directory (it didn’t exist), as we manually uploaded it to the server after executing the PHP Artisan commands it indicated that it already existed, We just removed them, ran the PHP artisan command again, and it works fine.

    Thanks

  • MA

    MAG Digital Agency

    Answered

    What a coincidence we were just investigating and we solved it at the same time that they gave us the answer here, anyway, thank you very much.

  • Login to Reply