after uploading an image, insert it straight away

also, new images go to the top of the resources list instead of the bottom.