Fix paths
Add thumbnailsBasePath option
Delete thumbnails before delete post