For images I use imgbb.com....
1. Go to:
https://imgbb.com/
2. Hit start uploading
3. find the file on your pc
4. click upload
5. Wait a Second
6. choose http full linked and copy the url:
7. If you put that between image tags it doesnt work, but if you just copy the 'https://i.ibb.co/qdL6vr9/Tom.gif'
[img]<a href="https://ibb.co/XbfHqCp"><img src="https://i.ibb.co/qdL6vr9/Tom.gif" alt="Tom" border="0"></a>[/img]
8. Put that between the image tags then it does work