Hello

How can I configure the colorbox to automaticly get pictures from example: http://s626.photobucket.com/albums/tt350/pawi81/2011_07_EBWC2011/ ?

I know how can I enable one simple photo with class="colorbox" i a href link, but is it possible to create gallery with colorbox which will be automaticly take all pictres from one location?

thx

Comments

pawi81’s picture

I've got code i one forum topic:

<a class="colorbox-load" href="http://i626.photobucket.com/albums/tt350/pawi81/2011_07_Watorowo/2011-07-16Watorowo030_1200px.jpg" title="Zdjęcia"><img src="http://s626.photobucket.com/albums/tt350/pawi81/2011_07_Watorowo/th_2011-07-16Watorowo030_1200px.jpg" /></a> 

<a class="colorbox-load" href="http://s626.photobucket.com/albums/tt350/pawi81/2011_07_Watorowo/2011-07-16Watorowo043_1200px.jpg" title="Zdjęcia"><img src="http://s626.photobucket.com/albums/tt350/pawi81/2011_07_Watorowo/th_2011-07-16Watorowo043_1200px.jpg" /></a>

And when i click on the one picture, i haven't got any next or previous link. I must close picture and open manually next.

Help please :)

frjo’s picture

Colorbox will group all image links that has the same rel attribute as a gallery.

Here I have added rel="photobucketgallery" to your example links.

<a class="colorbox" rel="photobucketgallery" href="http://i626.photobucket.com/albums/tt350/pawi81/2011_07_Watorowo/2011-07-16Watorowo030_1200px.jpg" title="Zdjęcia"><img src="http://s626.photobucket.com/albums/tt350/pawi81/2011_07_Watorowo/th_2011-07-16Watorowo030_1200px.jpg" /></a> 

<a class="colorbox" rel="photobucketgallery" href="http://s626.photobucket.com/albums/tt350/pawi81/2011_07_Watorowo/2011-07-16Watorowo043_1200px.jpg" title="Zdjęcia"><img src="http://s626.photobucket.com/albums/tt350/pawi81/2011_07_Watorowo/th_2011-07-16Watorowo043_1200px.jpg" /></a>

For simple image links use just "colorbox" as the class.

pawi81’s picture

thx:)

frjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.