bugfix: do not show images when show-img=false