I have created views to display images. Clicking on the image takes to content. View displays the image but when clicking on image it takes to content where image is not displaying. Please help me.
-
Have you checked the manage display of the content type?– AparnaJul 27, 2015 at 6:56
-
Yes i have checked. Actually image breaks.– VamsiJul 27, 2015 at 7:06
-
Open the image link in a new tab. If it shows forbidden, then you should give permission to the files folder.– Pravin AjaazJul 27, 2015 at 7:45
-
Did you adjust your content type template to show your image?– pgrujicJul 27, 2015 at 12:15
1 Answer
This is almost certainly a permissions issue. You need to ensure the web user (apache?) has access to these files. I typically just
chmod -R www-data:www-data sites/default/files
and it does the job.