Search…

X3 Photo Gallery Support Forums

Search…
 
film915
Experienced
Topic Author
Posts: 67
Joined: 06 Dec 2007, 16:47

Suggestion: Show/hide description (caption) button

31 Jul 2008, 16:11

Is there a way to include a "Show/hide caption" (i.e., description button, maybe on the bottom right of the image or in the Main Control bar? This way the description wouldn't be shown for every image but viewers could click "Show Caption" to view the description and "Hide Caption" to hide them.

You might include a "rollover" option, too, in that when viewers simply move the mouse over "Show Caption" the description appears.
 
jhamrick
Experienced
Posts: 100
Joined: 10 Mar 2008, 00:26

Re: Suggestion: Show/hide description (caption) button

31 Jul 2008, 16:17

film915 wrote:Is there a way to include a "Show/hide caption" (i.e., description button, maybe on the bottom right of the image or in the Main Control bar? This way the description wouldn't be shown for every image but viewers could click "Show Caption" to view the description and "Hide Caption" to hide them.

You might include a "rollover" option, too, in that when viewers simply move the mouse over "Show Caption" the description appears.
I'm pretty sure this already exists.. check out my gallery to confirm...

http://misc.josh-renee.com/#/content/Fa ... 0Josh.jpg/
- josh
 
film915
Experienced
Topic Author
Posts: 67
Joined: 06 Dec 2007, 16:47

Re: Suggestion: Show/hide description (caption) button

31 Jul 2008, 16:28

jhamrick wrote:
film915 wrote:Is there a way to include a "Show/hide caption" (i.e., description button, maybe on the bottom right of the image or in the Main Control bar? This way the description wouldn't be shown for every image but viewers could click "Show Caption" to view the description and "Hide Caption" to hide them.

You might include a "rollover" option, too, in that when viewers simply move the mouse over "Show Caption" the description appears.
I'm pretty sure this already exists.. check out my gallery to confirm...

http://misc.josh-renee.com/#/content/Fa ... 0Josh.jpg/
I see what you're saying here, but it would be nice to have something that doesn't require the viewer to figure it out for themselves. As far as I can tell, right now the viewer has to just happen to roll over the image to figure out that is the way see the description. Might be nice to have a static button that says, "show caption" so it's self-explanatory. The button could have a "rollover" or "click" option to show the caption.
 
jhamrick
Experienced
Posts: 100
Joined: 10 Mar 2008, 00:26

Re: Suggestion: Show/hide description (caption) button

31 Jul 2008, 16:31

film915 wrote:
jhamrick wrote:
film915 wrote:Is there a way to include a "Show/hide caption" (i.e., description button, maybe on the bottom right of the image or in the Main Control bar? This way the description wouldn't be shown for every image but viewers could click "Show Caption" to view the description and "Hide Caption" to hide them.

You might include a "rollover" option, too, in that when viewers simply move the mouse over "Show Caption" the description appears.
I'm pretty sure this already exists.. check out my gallery to confirm...

http://misc.josh-renee.com/#/content/Fa ... 0Josh.jpg/
I see what you're saying here, but it would be nice to have something that doesn't require the viewer to figure it out for themselves. As far as I can tell, right now the viewer has to just happen to roll over the image to figure out that is the way see the description. Might be nice to have a static button that says, "show caption" so it's self-explanatory. The button could have a "rollover" or "click" option to show the caption.
i THINK you can do that to.. in your theme config go to Image-->Image Buttons and ctrl-click ImageInfo in the box and save... see if that's what you are looking for.

I know you can atleast change it from roll over to static and reposition it using several options around the screen.

It's in Config-->Image-->Text-->Text1 or Text2
- josh
 
film915
Experienced
Topic Author
Posts: 67
Joined: 06 Dec 2007, 16:47

31 Jul 2008, 16:56

OK... I'm getting there. I can get the little icon to show up, and position it where I want, I just can't get it to show the acutal image description. The only thing it shows when it's clicked is a sub-menu that says "Image description."

Is there a way to make that button show the image description in the position that is configured in Text1 or Text2?
 
jhamrick
Experienced
Posts: 100
Joined: 10 Mar 2008, 00:26

31 Jul 2008, 17:40

film915 wrote:OK... I'm getting there. I can get the little icon to show up, and position it where I want, I just can't get it to show the acutal image description. The only thing it shows when it's clicked is a sub-menu that says "Image description."

Is there a way to make that button show the image description in the position that is configured in Text1 or Text2?
Hmmm... not sure, may have to wait and get an official answer on that one.
- josh
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

31 Jul 2008, 20:45

Code
<event type="string" description="Decides on what event the description triggers" options="static,rollover,imageinfo_button">imageinfo_button</event>
It seems like there was a missing setting in 'text1' module that was only available in 'text2' in the themes. I have now added the option "imageinfo_button" to the text event options, so that you may apply a descripton-text to display only when rolling over a description button in imagebuttons.

Either wait for update, or use <text2> module which has this option already. Am I making sense?

You seem to have progressed correctly by enabling the imageinfo button, but then you also need to enable one of the 'textmodules' to trigger on the imageinfo_button event using the setting above.

Just to comment your discussion also ... I think this may be what you are looking for, although it will not be an option to add this button to another location(f.ex. bottom right of image, unless you want to move ALL imagebuttons there). We need to keep items grouped to keep some order. We could integrate an option to have the imageinfo_button also as an option in the maincontrols.
 
jhamrick
Experienced
Posts: 100
Joined: 10 Mar 2008, 00:26

31 Jul 2008, 21:43

mjau-mjau wrote:We could integrate an option to have the imageinfo_button also as an option in the maincontrols.
That would be awesome... just a global toggle that sits up on the main menu bar that allows the user to turn the descriptions on or off.
- josh