generate-img-fragment.sh