Fork from s-gallery https://github.com/SaraSoueidan