Hi @michalprik,
I hope you are well today and thank you for your question.
You can get rid of that gray frame by using the CSS solution shared in the following topic.
https://colorlibsupport.com/t/remove-drop-shadow-on-images/
Best Regards,
Movin