changed images dir to media