Added image upload with default. Needs default image variable, as of this commit default is abs path.
Added sort by buttons to index for upvotes and date