Image code working now