Hello there,
TIf you want to allow downloading of images and PDFs from WhatsApp, you will need to add an exception for the URL that the images and PDFs are being downloaded from.
In Internet Options, go to the Security tab and click on the "Restricted sites" icon. Then, click on the "Sites" button and add the URL for the website that the images and PDFs are being downloaded from as an exception. This will allow you to download images and PDFs from that website while still blocking all other sites.
Keep in mind that the URL for the website that the images and PDFs are being downloaded from may not be "whatsapp.com". It could be a different URL, such as "web.whatsapp.com" or "api.whatsapp.com". You may need to experiment with adding different URLs as exceptions to find the one that allows you to download images and PDFs from WhatsApp.
--If the reply is helpful, please Upvote and Accept it as an answer–