fixed content image import

checks if the directory media/content/ is writeable.