Page 1 of 1

main controls & image buttons

Posted: 16 Feb 2011, 04:30
by winph
Hi,

is it possible to have toggle play in image buttons? why not just put main controls in images/text page & thumbnails?

:)

Re: main controls & image buttons

Posted: 16 Feb 2011, 08:59
by mjau-mjau
You can in fact add toggleplay to the image buttons, but this will require a custom edit. Open the file iv-includes/include/config.xml, and locate the node:
Code
<buttons type="array" description="Select which buttons to be used when hovering over the image" options="imageinfo,window,popup,copylocation,link,purchase,download,sendlink,contact,zoomin,zoomout,togglefullscreen,share">window,popup,download,zoomin,zoomout,share</buttons>
Add the "toggleplay" value in the options array, like this:
Code
<buttons type="array" description="Select which buttons to be used when hovering over the image" options="imageinfo,window,popup,copylocation,link,purchase,download,sendlink,contact,zoomin,zoomout,togglefullscreen,share,toggleplay">window,popup,download,zoomin,zoomout,share</buttons>
Now, from your settings, you can add toggleplay to imagebuttons.
winph wrote:why not just put main controls in images/text page & thumbnails?
Textpages dont need any controls, and thumbnails dont really have placement for imagebuttons like image have - There is no hover area. Main controls work more like global controls, and often users like to always have them in same location.

Re: main controls & image buttons

Posted: 16 Feb 2011, 12:04
by grimurnet
the play button is added, but it is always on pause, the sign (||) it does not toggle the button. But it plays and pauses, that works.

Re: main controls & image buttons

Posted: 17 Feb 2011, 04:55
by mjau-mjau
grimurnet wrote:the play button is added, but it is always on pause, the sign (||) it does not toggle the button. But it plays and pauses, that works.
Not sure how this is related to the original post. However, do you have a link to your gallery with this issue? I have not seen this problem ...

Re: main controls & image buttons

Posted: 17 Feb 2011, 05:04
by grimurnet
Yes it is related, because it is about the toggleplay button as image->imagebuttons->toggleplay
This button does not change, but the button works.
You can see it on my page here: http://portfolio.grimur.net/#/files/Nat ... 26_001.jpg
When you hover over the image there the imagebuttons appear, and you can see the button stays the same...

Re: main controls & image buttons

Posted: 17 Feb 2011, 11:02
by mjau-mjau
right ... I thought you were just speaking of the toggle-play button in general. May I ask: Have you disabled your main controls now that you have toggle play in the image buttons? I would question the usability of having a play button appear on image rollover, instead of simply having it globally available for example stacked on one of the sides or in one of the corners. https://d.pr/AMV0