Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoAlt

Plugin for Livestreet

Adds blog name to the ALT-attribute of images of topics (applied when saving the topic).

Follows these scenarios:

  • If there is no ALT or it is empty, then it is created with the pattern "Blog name: Topic title".
  • If the ALT is present and does not contain blog name, then adds "Blog name: Existing ALT". Otherwise the ALT is not modified.

It is possible to disable adding blog name in the config/config.php file, or to ignore the original image ALT.

v1.4 - In order to always populate title text with the same as for ALT set override_title_with_alt to true in config/config.php file.

Photosets are not affected by this plugin.


AutoAlt Плагин для Livestreet

Добавляет название блога топика к ALT-атрибуту изображений топиков (при сохранении топика).

Работает по следующему сценарию:

  • Если alt-а нет или он пустой, то создаёт его со значением "Название блога: Название топика".
  • Если alt есть и не содержит название блога, то добавляет "Название блога: Существующий ALT". Иначе alt не изменяется.

В config/config.php можно отключить функцию добавления блога, или игнорировать исходный ALT изображения.

v1.4 - Также возможно всегда заполнять атрибут TITLE с тем же текстом, что записывается в ALT, для этого установите параметр override_title_with_alt в значение true в файле config/config.php.

Этот плагин не влияет на фотосеты.

About

AutoAlt plugin for LiveStreet CMS

Resources

Stars

4 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages