before I changed upload form back to one photo, but through ActiveRecord