Finish create function, but if the gallery is empty, then the system can't fetch image then crash, I will leave it to the last part