Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Stado on
Hi,
after upgrading to 7.20, looks like the image field in articles is not working properly - images are not displayed after upload.
anyone else has this problem? what's the solution7
thanks in advance
Comments
Yes, I am having this same
Yes, I am having this same problem. Uploading images worked fine for me before I upgraded (from 7.18 to 7.20). Now, I can upload an image, but the image doesn't appear, and when I try to view the URL I get an "access denied" message.
rolled back to 7.19.
rolled back to 7.19. everything is back to normal :)
Same here
The site logo appears fine.
I went to add an image to the default content type "Article". I added the image. The image doesn't appear in the article. In terminal I checked that files exist and that the download of the image was saved. Just appears that the image just doesn't show when viewed through a browser. Trying to reboot although the server doesn't appear to be the problem....
I'll let you know if I come up to a solution.
I am coming up with an internal server error.
What OS is everyone using? Me - Ubuntu 12.04LTS with Virtualmin as administration for server.
MY SOLUTION
I don't take responsibility for the ramifications of doing what I am telling you.
.htaccess files are hidden so you may need to go to your terminal and use something like ls -la command.
1. The .htaccess files in drupal appear to not work very well with my server. I changed the .htaccess file in the main drupal installation and in the sites/default/files folder. The change is this
Change
+FollowSymLinks
to
+SymLinksIfOwnerMatch
After I did that and cleared cache (admin menu look for configuration then performance then clear cache) my image appeared at the bottom of my article. There is my solution.
tried this - no change :(
tried this - no change :(
disabling the CDN module
disabling the CDN module solved the issue in my case
Interesting.
I had no CDN module.
I wonder if it made a path that had a .htaccess file in it?