{"id":295,"date":"2025-03-20T08:40:00","date_gmt":"2025-03-20T08:40:00","guid":{"rendered":"https:\/\/documentation.iqonic.design\/handyman\/?p=295"},"modified":"2025-06-03T11:49:06","modified_gmt":"2025-06-03T11:49:06","slug":"how-to-solve-problem-with-image-loading","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/handyman\/how-to-solve-problem-with-image-loading\/","title":{"rendered":"How to solve Problem with Image Loading"},"content":{"rendered":"<div class=\"nolwrap\">\n<p>If you have available terminal at Server then, run command below &#8211;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php artisan storage:link<\/pre>\n\n\n\n<p>Otherwise,<\/p>\n\n\n\n<p>Step 1: Navigate to Project Routes<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the project directory.<\/li>\n\n\n\n<li>Open the&nbsp;<code>routes<\/code>&nbsp;folder.<\/li>\n\n\n\n<li>Access the&nbsp;<code>web.php<\/code>&nbsp;file.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1595\" height=\"813\" src=\"https:\/\/documentation.iqonic.design\/handyman\/wp-content\/uploads\/sites\/9\/2025\/03\/Solve_Problem_Image_Loading1.png\" alt=\"\" class=\"wp-image-941\" \/><\/figure>\n\n\n\n<p>Step 2: Add Import Statement<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Inside the&nbsp;<code>web.php<\/code>&nbsp;file, add the following import statement:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">   use Illuminate\\Support\\Facades\\Artisan;<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1599\" height=\"837\" src=\"https:\/\/documentation.iqonic.design\/handyman\/wp-content\/uploads\/sites\/9\/2025\/03\/Solve_Problem_Image_Loading2.png\" alt=\"\" class=\"wp-image-942\" \/><\/figure>\n\n\n\n<p>Step 3: Implement Code<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Insert the following code snippet into the&nbsp;<code>web.php<\/code>&nbsp;file:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">   Route::get('\/create-storage-link', function () {<br>       \/\/ Execute the storage:link command<br>       Artisan::call('storage:link');<br>     <br>       \/\/ Redirect back or return a success message<br>       return 'Storage link created successfully!';<br>   });<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1595\" height=\"817\" src=\"https:\/\/documentation.iqonic.design\/handyman\/wp-content\/uploads\/sites\/9\/2025\/03\/Solve_Problem_Image_Loading3.png\" alt=\"\" class=\"wp-image-943\" \/><\/figure>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>If you have available terminal at Server then, run command below &#8211; php artisan storage:link Otherwise, Step 1: Navigate to Project Routes Step 2: Add Import Statement use Illuminate\\Support\\Facades\\Artisan; Step 3: Implement Code Route::get(&#8216;\/create-storage-link&#8217;, function () { \/\/ Execute the storage:link command Artisan::call(&#8216;storage:link&#8217;); \/\/ Redirect back or return a success message return &#8216;Storage link created [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":259,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-295","post","type-post","status-publish","format-standard","hentry","category-handyman-services"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/handyman\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/posts\/295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/comments?post=295"}],"version-history":[{"count":3,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/posts\/295\/revisions"}],"predecessor-version":[{"id":945,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/posts\/295\/revisions\/945"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/posts\/259"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/media?parent=295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/categories?post=295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/tags?post=295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}