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.

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

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