davidtrushkov / store

A ecommerce store using Laravel 5.2
87 stars 62 forks source link

Cant display image,and file app.scss #1

Closed sethinh closed 8 years ago

sethinh commented 8 years ago

Dear Guy When i try your source i have 2 issues:

  1. I cant load file sass/app.sass
  2. I cant display image although i fixed right path it look like:http://qt.localhost/src/public/ProductPhotos/photos/th-c1069fa19d498e9ebf7a9c0b0f8a7937ac411154.jpg 404 (Not Found) Thank you so much.
davidtrushkov commented 8 years ago

The only reason why I think you cant compile sass is you have to install "gulp" and "npm". Found https://laravel.com/docs/5.2/elixir. If that doesn't work, just create a css file and copy all the code from sass file to your new file, and comment out the sass file in your header, and add the new css in your header.

The file image path has to look something like this when you inspect the source code in you web browser. /store/src/public/ProductPhotos/photos/th-50d59eef10574aeb78a8681541ef7e6bf2a3edd5.jpg

Although it probably still wont work, you will have to delete the images from the product_images table and upload all the images for the products again. All the Images are found in the images folder in public folder

sethinh commented 8 years ago

Thank you so much. It work.