Fix dynimg
Merge pull request #770 from dswd/fix-dynimg

Fix dynimg