Image alt text

So if you have 100 images in a post. All 100 images will have same alt. That's not good.

I agree, but we don't have that many attachments in any one post, maybe 5 - 10. At the moment the alt text is reading filename values which mean nothing. For example

Code:
<img src="attachments/img_0633-jpg.3924/" alt="IMG_0633.jpg" class="bbCodeImage LbImage" />
<br />
<img src="attachments/img_0634-jpg.3925/" alt="IMG_0634.jpg" class="bbCodeImage LbImage" />

I doubt I can convert my users to change the filename before uploading.
 
For [attach] tags in posts the thread record is not available. But for the list of attachments at the bottom of a post you can edit the attached_files template and use {$thread.title}.
 
For [attach] tags in posts the thread record is not available. But for the list of attachments at the bottom of a post you can edit the attached_files template and use {$thread.title}.

Thanks Jake you're the man, that has been implemented and works well. Now to convince my users to attach their images but not insert them :confused:
 
Back
Top Bottom