I have checked every single solution on the internet with no avail.
On the same server and using the same Drupal version 8.8.4, I have two completely separated sites.
Site A is working as expected with no issues at all while Site B is encountering the below explained issue.
Not sure if this might help but Site A has been created 2 years ago and continuously updated until the current stable version (8.8.4) while Site B has been created a week ago using version (8.8.4).
Using the Profile picture image field (
user_picture) shipped with Drupal Core at "
/admin/config/people/accounts/fields", I am trying to upload an image of myself (Uid:1 - Administrator)
After uploading the image:
- The thumbnail to preview the image at "
/user/1/edit" page is not displayed.
- The Image at "
/user/1" page is not displayed if an image style is applied to it at
/admin/config/people/accounts/display, however if the image style is set to
Original Image, the image is displayed correctly.
What I have tried so far:
The permissions of all folders are correct, even I have set them to
chmod -R 777 webso now all folders & files are set to
/web/sites/default/files/stylesis correct, even I have replace it with
- I was using a sub-theme of Bartik theme, but I have uninstall it and switch back to use the base Bartik Theme.
admin/reports/statuspage, I have the below:
_ FILE SYSTEM: Writable (public download method)
_ GD LIBRARY: bundled (2.1.0 compatible)
_ GD LIBRARY PNG SUPPORT: bundled (2.1.0 compatible)
_ IMAGE TOOLKIT: gd (GD2 image manipulation toolkit)
I am running on VPS and not a shared host.
/user/1page, When I inspect the broken image, I found that the src of the image is:
/sites/default/files/styles/profile_picture/public/profile-pictures/Administrator.jpg?itok=XMAlUZVe, however, in "File Manager" there is no trace of such image."
I have tried to manually upload an the image at
/sites/default/files/styles/profile_picture/public/profile-pictures/and suddenly the image is visible at
No any issues logged at:
The above error is for any image field whether was placed to an user entity, Taxonomy entity or node entity.
There is something preventing my site from generating
image styles for every uploaded image, Any help please ?