Added feature to create slideshowitems