нашёл подходящий плагин -
pPGalleryон использует скрипт -
prettyPhotoна сайте скрипта есть пример
prettyPhoto can open single images.
To do so, simply:
Create a link (<a href=”#”>).
Add the rel attribute “prettyPhoto” to it (rel=”prettyPhoto”).
Change the href of your link so it points to the full size image.
You can also add a title and a description to your picture:
To have display a title, add the title into the ALT attribute or your thumbnail image.
To have display a description, add the description into the TITLE attribute or your link.
<a href="images/fullscreen/2.jpg" rel="prettyPhoto" title="This is the description"><img src="images/thumbnails/t_2.jpg" width="60" height="60" alt="This is the title" /></a>
я сдел как там написано, но плагин не работает
работает только если сделать галерею {ppgallery}*folder* or *images*{/ppgallery}
но тумбу все ровно делает свою
хоть и указана ссылка
как сделать что он не генерил тумпу и ссылка оставалась рабочей
если ниже создонной галереии поставить картинки и в них прописать rel="prettyPhoto"
<a href="/images/glamur/00001.jpg" rel="prettyPhoto"><img class="mini" src="/images/glamur/thumb/00001_thumb.jpg" border="0" alt="1" /></a>
то всё заработает,
в pPGallery код с страницы
<p><span class="ppgalleryler">
<span class="ppg_thbox40"><span class="ppg_thbler"><a href="/images/glamur/thumb/00001_thumb.jpg" rel="prettyPhoto[40]" title="" target="_blank"><img src="/cache/ppgallery/40/images/glamur/thumb/160x160_q75-19_t_00001_thumb.jpg" alt="1" width="160" height="160" title="00001_thumb.jpg" /></a></span></span>
<span class="ppg_thbox40"><span class="ppg_thbler"><a href="/images/glamur/thumb/00002_thumb.jpg" rel="prettyPhoto[40]" title="" target="_blank"><img src="/cache/ppgallery/40/images/glamur/thumb/160x160_q75-19_t_00002_thumb.jpg" alt="1" width="160" height="160" title="00002_thumb.jpg" /></a></span></span>
<span class="ppg_clr"></span>
</span>
</a></p>
кто знает как заставить работать плагин
плагин генерит код
rel="prettyPhoto[40]где надо изменить что бы получилось
rel="prettyPhoto"