refactored usage of images position, now it is included directly in the file manifest