BlogSphere - Feature Request: improved: image ALT-property support
just to tell you about a small enhancement for the Story's PostSave-Event I just tested:
[...]
startcheck:
x = Instr(1,strHTML,"<img src=cid:")
If x = 0 Then Goto savedoc
y = Instr(x,strHTML,">")
m=Instr(x, strHTML, { alt=}) +5
If m>0 And m<y Then
altTag=Mid$(strHTML, m, y-m)
Else
altTag={A picture named M} + count
End If
NewImg = {<img src="./plinks/}+PermaLink+{/StoryRichText/M} + count + {?OpenElement"}
strHTML = Left(strHTML,x-1) + NewImg + { alt="} + altTag + {">} + Right(strHTML,Len(strHTML)-(y))
count = count +1
Goto startcheck
savedoc:
[...]
This 'quick and dirty' enhancement will include the RT embedded image's alternate text in HTML, if any.
Taken Actions by OwnersDocuments