Try to fix some warnings in Zotlabs\Module\Embedphotos.
$phototypes was undefined, hope this is correct selection to fix it. Correct Doxygen and clean up some variables and refactoring.
Can someone please verify that photo_factory()->supportedTypes() is a sufficient solution.