Fix active record association causing only favorited pics to be displayed.
Move flash text and add div to favorite link.