Closed brm-ryd closed 2 years ago
@brm-ryd Thank you for taking interest in the plugin and asking questions!
- Apologies, are there anything i can check when i use the simple-local-avatars when set the image avatar for the profile user it wont show for the image instead only white background like below image screenshot
To exactly detect the issue and fix it, can you please provide/answer the following information/questions?
- When i used custom theme does it a must to use get_avatar function php in my theme to make it works ?
You can also use get_avatar_url()
to get the avatar URL.
- Let say when i use this simple-local-avatars plugin when i uploaded image for avatar for specific profile it should be create a file image in Uploads folder isnt ? if not created - are there anything i can check (assumed i set directory of uploads for 750 & www-data user)
Yes, it is uploaded as a WP media file so all no the avatars are stored in the uploads folder.
By the way, you can ask questions on the official Support Page here.
@faisal-alvi ,
Many thanks for the feedback!
Thank you for providing the details.
I have tried to upload your image in the same configuration you shared and the file was successfully uploaded without any issues.
Can you please deactivate all the other plugins and try again?
Sorry @faisal-alvi , i had been disable all plugins and then enable only the simple-local-avatar but still same like attached - only blank display image when i choose image for one of the user .
Is there anything i should add in some themes functions.php for testing this event ?
@brm-ryd what does that admin notification say at the top of the screen? Are you seeing anything in the browser console that might tip off what's not allowing the uploaded avatar to display?
Sorry @jeffpaul uploaded image working as its really stored / created in uploads directory, i dont see any notifications though after i choose the image (both from media existint / uploads new)
@brm-ryd are you using something like Azure or other storage service to offload your media files?
no @jeffpaul - only host the in the regular vps 1 instance for this wordpress site
@brm-ryd what role is the user you're trying to set that image?
@jeffpaul Currently i login with administrator role to set the image of user and the users i tried to set the image profile is regular & my admin account
@brm-ryd is the avatar displayed on the frontend of your site properly?
no @jeffpaul, as in frontend backend it just like blank (no standard gravatar default image as well)
@brm-ryd If feasible, can you please create a dummy user for us to check into your site so we can investigate in detail?
Sorry @faisal-alvi - i'll need to ask another person for this, does regular user should be okay / need an administrator role ?
@brm-ryd administrator role would be best as we would not face any capabilities issue while testing.
@brm-ryd can you confirm your browser version, operating system version, theme version, and any other active plugin versions? Our best guess is that there's a plugin conflict, but hard to triage without being able to properly replicate your environment... thanks!
Sorry @faisal-alvi & @jeffpaul , im not yet get the confirmation regarding access to the wp-admin for you, btw below are the details i can share to you - i only can think something related custom theme / plugin which like you said possible conflict
plugin list aside of simple-local-avatars
akismet active available 4.2.1 cloudflare active none 4.7.0 co-authors-plus active none 3.4.92 complianz-gdpr-premium inactive none 4.8.0 contact-form-7 active available 5.5.3 edit-author-slug active none 1.8.3 jeowp active none 2.4.0 newspack-plugin active none 1.70.0 newspack-blocks active none 1.20.0 newspack-image-credits-1.0.1 active none 1.0.1 newspack-media-partners active none 1.0.0 optimize-your-feed-for-feedly active none 1.0 redis-cache active available 2.0.22 safe-svg active none 1.9.9 google-site-kit active available 1.48.1 pubsubhubbub active none 3.1.1 wp-cron-control inactive none 0.7.1 wp-mail-smtp active none 3.2.1 flush-opcache active none 4.1.2 wps-hide-login active available 1.9.2 wordpress-seo active available 17.8 wpseo-news active none 13.1 wordpress-seo-premium active none 17.8
Again many thanks & sorry,
@brm-ryd thanks for sharing the details. I have again tested it in Safari, Chrome, and Firefox, it is working without any issues.
i believe browser not the issue as i had tested simple-local-avatars in another site its works fine
As per your mentioned note, closing this ticket.
Hi,
Apologies, are there anything i can check when i use the simple-local-avatars when set the image avatar for the profile user it wont show for the image instead only white background like below image screenshot
Again many thanks for your help & sorry for this question.