Satellite Internet forum | |
https://www.satsig.net/cgi-bin/yabb/YaBB.pl
VSAT technology and installation >> Satellite dish installations - pictures and descriptions >> Adding alt text to images with ubbc code https://www.satsig.net/cgi-bin/yabb/YaBB.pl?num=1264520766 Message started by Forum Admin on Jan 26th, 2010 at 3:46pm |
Title: Adding alt text to images with ubbc code Post by Forum Admin on Jan 26th, 2010 at 3:46pm
To everyone who has put pictures into this YaBB forum..
It has always been possible to put pictures into this forum using this form of ubbc coded text: {img}https://w ww.satsig.net/italy-flag.gif{/img} I have amended the forum ubbc perl code to allow alt text to be added, for example, {img alt=Italian flag}https://w ww.satsig.net/italy-flag.gif{/img} Please use this new alt text feature in future postings of images. Write words that describe what is in the image. The purpose is to help visitors who have images turned off in their browsers and to help the search process to work better and find images more successfully. Use square brackets, not squiggley one as above. You may amend your older picture postings if you wish. For those technically minded, this was the modification (addition) to the YaBBC.pl perl source code file. $message =~ s~\[img alt=(.+?)][\s*\t*\n*( )*($char_160)*]*(http\:\/\/)*(.+?)[\s*\t*\n*( )*($char_160)*]*\[/img\]~<img src="http\:\/\/$3" alt="$1" border="0">~isg; Best regards, Eric. |
Powered by YaBB 2.5.2! YaBB Forum Software © 2000-. All Rights Reserved. |