Adding thumbnails was much harder than I expected but it was worth it