# Hide Group Cover Photo and Display Profile Photo when members are only 2

**URL:** <https://community.sendbird.com/t/hide-group-cover-photo-and-display-profile-photo-when-members-are-only-2/9515>\
**Category:** JavaScript\
**Created:** [May 10, 2024, 12:05pm UTC](https://community.sendbird.com/t/hide-group-cover-photo-and-display-profile-photo-when-members-are-only-2/9515 "2024-05-10T12:05:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjay\_Test](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/sanjay_test/32/5129_2.png) [@Sanjay\_Test](https://community.sendbird.com/u/Sanjay_Test)\
**Post date:** [May 10, 2024, 12:05pm UTC](https://community.sendbird.com/t/hide-group-cover-photo-and-display-profile-photo-when-members-are-only-2/9515/1 "2024-05-10T12:05:55Z")

</div>

“name”: “sample-js-web-widget”,  
“version”: “0.18.0”,

I am using Javascript SDK in the PHP Framework,  
When I create a Group of 2 People need to Remove the Group Cover URL and Replace it with a Specific USER Profile Picture

When I login with **User1** and Create a Group With **User2**  
When I Message **User 2** it shows me the **user2 Profile Picture** in List

and Login with the **User2** and chat with **User1** show me **User1 Profile Picture** in List

 ![sendBird_1](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/7/78b7881d3599a183454e0d328825e1d6b970795b.png)

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [May 13, 2024, 5:35am UTC](https://community.sendbird.com/t/hide-group-cover-photo-and-display-profile-photo-when-members-are-only-2/9515/2 "2024-05-13T05:35:00Z")

</div>

Hello @Sanjay_Test,

The project `sample-js-web-widge` is a very old and outdated project which we wouldn’t recommend you reference. Depending on what your PHP framework allows, you might consider embedding the React UIKit which would handle this logic for you. Otherwise you would need to custom the sample application your self to provide the logic you’re looking for as this is less of a Sendbird problem and more of an HTML request.

A quick peak looks like you likely would want to look here though: [sendbird-javascript-samples/javascript/javascript-widget/src/js/elements/list-board.js at d6d09a3714cb1889d56a2582739196e9d6e0bd7b · sendbird/sendbird-javascript-samples · GitHub](https://github.com/sendbird/sendbird-javascript-samples/blob/d6d09a3714cb1889d56a2582739196e9d6e0bd7b/javascript/javascript-widget/src/js/elements/list-board.js#L255)
