Publish new images improvement #711
Merge pull request #796 from neo22s/master

closes #788
Merge pull request #795 from oliverds/master

Publish new images improvement #711
#711 moved js code to new.js
Merge pull request #801 from oliverds/master

#711 moved js code to new.js
closes #784