• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Alt Title for attachment


Active member
In attached_files template,

I would like replace:

src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}"


src="{$attachment.thumbnailUrl}" alt="{xen:raw $title}"

But the title is not displayed inside the Alt :(
Do you have an idea how to place title thread into alt ?



Active member
We can add everything in a Alt=" ", I want the thread title inside, but it doesn't work.

Alt is to help google to understand what is the attachment, often Alt="055464.jpg" doesn't help google, but the thread title yes.

Digital Doctor

Well-known member
what title do you want to attach there?
attachments have no title
They don't ?
Why ?

Isn't that a major SEO loss ?

When I upload an image like: xenforo.vs.IPB.vs.vBulletin.a.comparison.of.CMSes.png .... is that nice filename not used in SEO ? :(

How are people going to find a cool picture of mine and PINterest it ? :)