getImageAttribute uses the first image.
Updated class naming.