(bug 49849) Fix for retrieving localized version of align attribute for images

First element of the array should be used instead of the whole array.

Change-Id: I9717e9d4b3b79cc9e583fb74e3537fbb5112a7bf