I need a script written that will post the best image uploaded by a user into a div. The image will need to be resized to a thumbnail to fit into the div. The script will output the image and the user that uploaded it.
The "best image" will be calculated by the image with the most views for the day. The thumbnail will have to be a link to send users to the section where the image was uploaded.
If some images have the same amount of views, it can just pick any one of those images with the highest view count.