-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images not displaying #133
Comments
This problem because of your project must be in webroot folder (see reqiurements on site) Although, i prefer second variant.If you want images are displayed even project installed at C:\xampp\htdocs\easyii\index.php old row: #DocumentRoot "C:/xampp/htdocs" Stop and Start again Apache through XAMPP Control Panel. That's all. |
It worked, thank you so much :)
|
On my local server (xampp localhost), everything seems to work fine except for the images, it shows a broken image icon. I made them show by concatenating it with the Yii::getAlias('@web') to the pages which have images in it (e.g. Yii::getAlias('@web') . $this->image). I went back to the online demo and checked the image src, they're using the /uploads/thumbs/ path and it works, it displays the images. When I am using the local server it doesn't. Do I need to upload it online to make it work?
Any help on this matter would be greatly appreciated. Thank you :)
The text was updated successfully, but these errors were encountered: