Added functionality to count votes via the database (I used counter_cache). The homepage is now the popular images. I added a link to the top for the "archives" section.