fetch, cache and resize images using dragonfly