Add image append functionality