Added additional checks for upload images paths
Added additional checks for upload images paths

appticles/wordpress-mobile-pack-backend,appticles/wordpress-mobile-pack-backend,appticles/wordpress-mobile-pack-backend,appticles/wordpress-mobile-pack-backend,appticles/wordpress-mobile-pack-backend