resource plugin serves images from upload