Images are not displayed in Drupal

If Drupal has a problem displaying images on the site (the image is displayed on the page, but it cannot be enlarged or opened in a new window), edit the file your_site.com/www/sites/default/files/.htaccess and replace the directive in it Options +FollowSymLinks on Options +SymLinksIfOwnerMatch.

The problem can be easily found and diagnosed with developer tools in the browser.