Simplified media URL generation for templates.