change attributes of file image/link
fixed recently added items/top pagination