Search…

X3 Photo Gallery Support Forums

Search…
 
winph
Experienced
Topic Author
Posts: 236
Joined: 19 Jul 2008, 05:07

main controls & image buttons

16 Feb 2011, 04:30

Hi,

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

:)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: main controls & image buttons

16 Feb 2011, 08:59

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.
 
grimurnet
Experienced
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: main controls & image buttons

16 Feb 2011, 12:04

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: main controls & image buttons

17 Feb 2011, 04:55

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 ...
 
grimurnet
Experienced
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: main controls & image buttons

17 Feb 2011, 05:04

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...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: main controls & image buttons

17 Feb 2011, 11:02

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