upload pics and adjust layout