getAttribs() and getThumbnailSize() functions will be moved later if they are reused.