Make the picname and picid dynamic so we can have more than one image