Hello,
What version of phpdocx are you using? Indexer includes image sizes information since phpdocx 7.0, and the getDocxPathQueryInfo method returns the elements of the query since phpdocx 7.5.
It seems you are using phpdocx 6.5. Your license has an active LUS, please download and use the latest release available on MY PHPDOCX page to be able to use both features with the new features.
Regards.