I cannot find any declaration in the config or other files.
I tried to find smth like:
<helpers>
<catalog>
<class>Mage_Catalog_Helper</class>
</catalog>
</helpers>
But there are no any entry even Mage_Catalog_Helper_Image.
Could someone to help to find it?
The autoloader cheats. If it cannot find a definition for an alias (eg.
"catalog") then it assumes it must be aMagemodule. You can put in any unknown alias and see the same thing happen. For example calling:…produces an error like:
That is why you cannot find the catalog helper declaration; there is none. But you can create your own and it will take precedence.