working on getpopularimages not complete yet but should be callable without error