Quote:
Originally Posted by demonlord
anyone know how to change "alt" attribute in default img bbcode?
|
You should look at the code in function handle_bbcode_img(), in file includes/class_bbcode.php. In some cases the contents of the alt attribute comes from the phrases image_larger_version_x_y_z or image_x_y_z, so you may be able to do what you want by translating those phrases. Otherwise you'd probably need to edit the php code in that file.