0

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.

4
  • Have you checked the manage display of the content type?
    – Aparna
    Jul 27, 2015 at 6:56
  • Yes i have checked. Actually image breaks.
    – Vamsi
    Jul 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. Jul 27, 2015 at 7:45
  • Did you adjust your content type template to show your image?
    – pgrujic
    Jul 27, 2015 at 12:15

1 Answer 1

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.