Provide better ALT Names on images.

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Registered User
Posts: 181
Joined: Mon Jan 24, 2005 2:10 am

Re: Provide better ALT Names on images.

Post by ecwpa »

I think there're two:

OP's proposal is to automatically use the filename as ALT text instead of "image" as a default. How to do it (without javascript I assume) is the question. Maybe extracting it before is posted, but for old posts may be tricky.

After that others pointed out that an [img="{URL}"]{ALT_TEXT}[/img] bbcode also made sense in case you want to override the default. Technically you can do It by yourself as a custom bbcode but I can't use [img] so I had to create [image=""] which is unnecesary inconsistent.
Slightly better English than it was in 2005, still improving :D
Post Reply