で
おかげであなたはグループ彼らは関係の属性を使用しなければなりません。 rel = "prettyPhoto [1]でrel =" prettyPhoto [2] "の最初の2つのアイテムをどのようにグループ化したかを下の例で見てください。
<li class="col-sm-4" data-filter=".photos">
<a rel="prettyPhoto[1]" href="...">
<img class="img-responsive" src="..." alt="" title=""/>
</a>
</li>
<li class="col-sm-4" data-filter=".photos">
<a rel="prettyPhoto[1]" href="...">
<img class="img-responsive" src="..." alt="" title=""/>
</a>
</li>
<li class="col-sm-4" data-filter=".photos">
<a rel="prettyPhoto[2]" href="...">
<img class="img-responsive" src="..." alt="" title=""/>
</a>
</li>
<li class="col-sm-4" data-filter=".photos">
<a rel="prettyPhoto[2]" href="...">
<img class="img-responsive" src="..." alt="" title=""/>
</a>
</li>
<li class="col-sm-4" data-filter=".photos">
<a rel="prettyPhoto[2]" href="...">
<img class="img-responsive" src="..." alt="" title=""/>
</a>
</li>