[1.7.x] Fixed #22924 -- Added a note about MEDIA_URL in templates.

Thanks raphael.herouart at gmail.com

Backport of 814bcc3395 from master