fixes bug when no locale was sent (fallback to working language)
fixes thumbnail for media in backoffice