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.
Hi,
i need help with the user's profile image.
1)I set my new user's image at : user/1/edit
image-after-upload.png
2)After saving and reload the page, it back to my default image:
after-refresh-user-page.png
3)But the image appears on the server as you can see on: image-uploaded-on-server.png
4)Any screenshots of my config:
admin/config/media/file-system
admin-config-media-file-system.png
admin/config/people/accounts
admin-config-people-accounts.png
- I tried all tips on this page with no success: https://www.drupal.org/node/1146904
- I'm using the script from this page for settings permissions: https://www.drupal.org/node/244924
- I don' t understand why it does not work. I have another website, it works correctly.
Thanks for your suggestions.
Comment | File | Size | Author |
---|---|---|---|
admin-config-people-accounts.png | 13.31 KB | TD44 | |
admin-config-media-file-system.png | 21.73 KB | TD44 | |
image-uploaded-on-server.png | 10.47 KB | TD44 | |
after-refresh-user-page.png | 2.45 KB | TD44 | |
image-after-upload.png | 8.17 KB | TD44 |
Comments
Comment #1
iyyappan.govindI think you need to check with the file permission in /sites/default/files.It's permission should be 755.
Run the following command in you terminal
chmod /sites/default/files -R 755
You can upload the image after changing the permission.
Comment #2
jozzy_a CreditAttribution: jozzy_a commentedGo to /admin/reports/status to check the status of your Drupal installation.
If there is nothing there, check your database logs. /admin/reports/dblog
Comment #3
dddave CreditAttribution: dddave commentedComment #4
karthik Raja V CreditAttribution: karthik Raja V at Innoppl Technologies Pvt. Ltd commentedPlease check your file permission with 755. Or.go to admin/config/media/file-system and check the public file system path "sites/default/files".
Comment #5
joyceg CreditAttribution: joyceg commentedI agree with @Karthik.innoppl, I have faced this issue multiple times while dealing with adding images to web pages. There may be some permissions missings which result in not able to display the image.
Comment #7
apadernoI am closing this issue, since it's a support request that was already answered.
Comment #8
apaderno