adapt for images both on dev and prod