Actually, you cannot add the download button to the
maincontrols, but you can add it to the
imagebuttons (that display when hovering mouse over displayed image). This can be achieved by using folder parameters for that specific folder:
https://www.photo.gallery/documentation/folder-parameters/
To add the download button in the main controls, they can add this string into folder parameters:
image.imagebuttons.buttons=window,popup,download,zoomin,zoomout,share,fotomoto
Obviously, the above is depending on what buttons items you want. Just make sure the "download" item is there ... and in the main settings, you should remove the download button of course.
It can be added to the
maincontrols also, but you would have to edit an XML file first: Open
iv-includes/include/config.xml, and change the following line:
<items type="array" description="Selects what items to display in the main controls" options="togglethumbnails,previous,scrollinfo,next,toggleplay,sfx,html,togglefullscreen,zoomin,zoomout,link,purchase,sendlink,contact,share,fotomoto,close">togglethumbnails,previous,scrollinfo,next,toggleplay,togglefullscreen,fotomoto</items>
... to ...
<items type="array" description="Selects what items to display in the main controls" options="togglethumbnails,previous,scrollinfo,next,toggleplay,sfx,html,togglefullscreen,zoomin,zoomout,link,purchase,sendlink,contact,share,fotomoto,download,close">togglethumbnails,previous,scrollinfo,next,toggleplay,togglefullscreen,fotomoto,download</items>
Now you can add the download button to main controls also from the admin settings ...