This plugin is similar to Page Avatar, but allows multiple images per each page. It also can output multiple thumbnails in category listings. This makes it perfect for gallery creation if used together with FancyBox.
Example screenshot:
Visit this plugin on the page of one of its authors (in Russian).
Example usage in TPL files:
In page.add.tpl:
1 |
{PAGEADD_FORM_MAVATAR} |
In page.edit.tpl:
1 2 3 4 5 |
< ul > <!-- BEGIN: PAGEMAVATAR_ROW --> < li >< em >{PAGEEDIT_FORM_MAVATARTITLE}:</ em > {PAGEEDIT_FORM_MAVATARFILE} {PAGEEDIT_FORM_MAVATAR} {PAGEEDIT_FORM_MAVATARDELETE}</ li > <!-- END: PAGEMAVATAR_ROW --> </ ul > |
In page.tpl:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<!-- IF {PAGE_MAVATAR.1} --> < a href = "{PAGE_MAVATAR.1}" title = "{PAGE_MAVATARDESC.1}" > < img src = "{PAGE_M__MAVATAR.1}" alt = "{PAGE_MAVATARDESC.1}" /> </ a > <!-- ENDIF --> <!-- IF {PAGE_MAVATAR.2} --> < a href = "{PAGE_MAVATAR.2}" title = "{PAGE_MAVATARDESC.2}" > < img src = "{PAGE_M__MAVATAR.2}" alt = "{PAGE_MAVATARDESC.2}" /> </ a > <!-- ENDIF --> <!-- IF {PAGE_MAVATAR.3} --> < a href = "{PAGE_MAVATAR.3}" title = "{PAGE_MAVATARDESC.3}" > < img src = "{PAGE_M__MAVATAR.3}" alt = "{PAGE_MAVATARDESC.3}" /> </ a > <!-- ENDIF --> <!-- IF {PAGE_MAVATAR.4} --> < a href = "{PAGE_MAVATAR.4}" title = "{PAGE_MAVATARDESC.4}" > < img src = "{PAGE_M__MAVATAR.4}" alt = "{PAGE_MAVATARDESC.4}" /> </ a > <!-- ENDIF --> |
Plugin sources:
https://github.com/esclkm/mavatars/
Thanked: 7 раз
oe this one is cool ;)
Thanked: 16 раз
У меня почему-то загужаются не только картинки.. Это плохо..
Thanked: 181 раз
Actual template for page.tpl
Thanked: 5 раз
is it outdated cuz it wont work
Thanked: 181 раз
Need more info...