You could reshape the new images to the trained shape. These larger images would be new to the model and it might thus fail, as e.g. the feature extraction might not be able to find any useful features if the resolution changes “a lot”. Note that the decrease in performance might not be that drastic if you slightly change the resolution.