yasinmhd / fancybox

Automatically exported from code.google.com/p/fancybox
0 stars 0 forks source link

Gallery should not be generated automatically if more than one item is found #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
or maybe It should be an option like 'AutomaticGallery': true - but not as 
a rule.

Original issue reported on code.google.com by pardus.t...@gmail.com on 27 Feb 2009 at 8:05

GoogleCodeExporter commented 8 years ago
totally aggree with this.
Should be an option or something like that.

Original comment by mbuon...@gmail.com on 3 Mar 2009 at 11:07

GoogleCodeExporter commented 8 years ago
Hello,

I got the same problem when I use a class to the images I want to display on 
the 
same page.
Since the class is the same for the several image, it creates a gallery that i 
don't 
want. This option mentionned above would be very helpfull.
And it would be very helpfull if someone want to create a plugin for wordpress 
for 
instance.

Thanks in advance,

Fred

Original comment by frederic...@gmail.com on 5 Mar 2009 at 9:27

GoogleCodeExporter commented 8 years ago
I had the same problem. I'm using fancybox with iframed-content where the 
next/prev buttons overlay the body 
(Which is basically issue #2).

I've patched my jquery.fancybox-1.2.0.js and added a new option "autoGallery" 
which defaults to "true" so this is 
backwards compatible. If set to "false" it will hide the prev/next buttons.

Patch is attached.

Original comment by mar...@mahner.org on 9 Mar 2009 at 1:39

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks :)

Original comment by pardus.t...@gmail.com on 10 Mar 2009 at 1:07

GoogleCodeExporter commented 8 years ago
Fixed in v.1.2.1

Original comment by janis.sk...@gmail.com on 20 Apr 2009 at 9:13