2020-07-16, 02:52 PM
<div class="member_head" style="background-image:url(https://website.com/uploads/profilepics/profilepic_{$memprofile['uid']}.jpg);" >
I want to make a profile like a social media and I do it. I add cover photo system on my website. This sistem works using the custom profile field and members would add cover photo URL manually. I wanted to do this automatic.
When somebody upload a photo, picture uploads this way (uploads/profilepics/profilepic_userID.jpg) But if somebody has .png or other image format, I can't see cover photo because my image format is .jpg
Is there a easy way to do this? Perhaps I can open .php file and add .png, .jpeg to .jpg because this file has convert size.
I use this plugin: https://community.mybb.com/mods.php?action=view&pid=127
I'm waiting your help.
[attachment=43062][attachment=43063]