The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Question / FancyBox
#5
(2015-09-09, 18:30:28)stwneu Wrote: Creating a i18n-gallery with one picture could be an option, but that means having dozens of galleries, which is not the best solution.. Undecided

No, you can just use one gallery and give every image a different tag.

Image 1:
Code:
(% gallery name=lonely-images type=fancybox tags=lion %)

Image 2:
Code:
(% gallery name=lonely-images type=fancybox tags=shark %)

Quote:I thought you don't have to install any plugin to use fancybox?

I think you can place it in your theme, but I never tried that. It's just not included in the cms as a frontend option.

Quote:I tried using the fancybox-plugin. When I do so I have to set rel to "fancybox" and it works. But then, when I try to close my navigationbar, it re-opens itself...  Huh Don't know why it behaves like this, but so this is not an option.

I don't know what you mean with closing your navigation bar, but you should use id="fb" instead of rel="fancybox" rel="fancybox" creates a gallery of one image, so if you place a second image and do the same, you get a gallery of 2 images (gallery = fancybox).

Btw. this is all described in the plugin description: http://get-simple.info/extend/plugin/fancyboxplugin/404/
Reply


Messages In This Thread
Simple Question / FancyBox - by stwneu - 2015-09-07, 20:43:56
RE: Simple Question / FancyBox - by shawn_a - 2015-09-08, 00:34:41
RE: Simple Question / FancyBox - by datiswous - 2015-09-08, 01:05:55
RE: Simple Question / FancyBox - by stwneu - 2015-09-09, 18:30:28
RE: Simple Question / FancyBox - by datiswous - 2015-09-09, 20:10:08
RE: Simple Question / FancyBox - by shawn_a - 2015-09-09, 22:15:08
RE: Simple Question / FancyBox - by stwneu - 2015-09-10, 15:34:56
RE: Simple Question / FancyBox - by stwneu - 2015-09-11, 19:28:45
RE: Simple Question / FancyBox - by datiswous - 2015-09-16, 20:41:11
RE: Simple Question / FancyBox - by stwneu - 2015-09-16, 16:19:02



Users browsing this thread: 2 Guest(s)