code: function(query) {
          var url;
  
          if (query && query.users().length) {
              // When one or more users are specified, use the global images endpoint
              url = this.getResourceUrl({
                  path: '/images',
                  user: null
              });
          } else {
              url = this.getUserUrl();
              url.setPath(url.getPath() + '/images');
          }
  
          if (query) {
              url.setQueryString(query.toString());
          }
  
          return url;
      }
docs: Get URL for the images endpoint. If the `users` filter is set, the global images endpoint
  is used instead of the user-specific one (`/images` vs `/user/<user>/images`)
  
  @param {Imbo.Query|String} [query]
  @return {Imbo.Url}