Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2018-07-03 02:14:27

LifeIsABeach
Member
Registered: 2013-05-28
Posts: 19

image alt tag vs title tag

Is there a way of using the metadata from "Title" or some other metadata field to populate the image "alt" tag rather than the "title" tag.

Everything I've learned and read about the "title" tag in terms of SEO is that is has no real juice. It's the "alt" tag that counts and that tag should have thoughtful non-spammy content.

Thanks for any assist.

pj

Offline

#2 2018-07-03 06:09:17

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 5,412
Website

Re: image alt tag vs title tag

Presently, we populate the 'alt' attribute with the image file name, mostly to ensure it is never empty, as many users do not include captions. The best way to ensure this attribute is useful then, is to craft descriptive file names for your images.

Additionally, images are wrapped in a FIGURE element, which also contains a FIGCAPTION element, containing whatever information you've configured for the "Caption" setup in your album template, ensuring that your caption is paired with your image for SEO purposes.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#3 2018-07-03 09:16:29

LifeIsABeach
Member
Registered: 2013-05-28
Posts: 19

Re: image alt tag vs title tag

I am currently changing over old modified CE galleries that I had mildly modified for SEO purposes. The site did extremely well for many years, #1 for the most part in all of the SERPs, and then for whatever reason, it died in the ranks. Not sure why, but it doesn't matter. I had to move away from CE.

It would look better if we were able to have the ability to use plain text for the alt field if it is available. In CE days, that's either the way it was, or, I modified the template page(s) so that's the way it was -- I can't remember which. And it worked great and looked great in Google Image search results.

I did this because of how Google images will display the alt info when you are browsing. I don't like using a file name there. I want plain text. It looked better, and based on the tests I've done, is preferred by Google.

If this isn't possible or is not something you want to consider, then what would I need to modify to accomplish this?

Isn't there a way to have a custom metadata template for LR? For example, I have an Instagram third party plug-in for LR that provides a field for #hashtags. It would be nice to have a template that would allow us to have these few additional fields to use for something like "alt" tags, wouldn't it?

Thanks for your time.

pj

Offline

#4 2018-07-05 01:43:20

LifeIsABeach
Member
Registered: 2013-05-28
Posts: 19

Re: image alt tag vs title tag

Is there a file I can modify to change the content of the "alt" tag to the content in the img "title" tag?

Are there any other fields available in metadata that I might identify and use for the "alt" tag?

Offline

#5 2018-07-05 05:19:05

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 5,412
Website

Re: image alt tag vs title tag

The files are in backlight/modules/pangolin-album/fragments. You should back up a file before making edits. And we do not actually endorse users making such changes. It's not entirely a violation of warranty situation, but support issues relating to such modifications, we may choose not get involved in.

I will earmark this for future consideration, and see whether there's a reasonable way of expanding this without turning the UI or the underlying code into spaghetti.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#6 2018-07-06 04:06:25

LifeIsABeach
Member
Registered: 2013-05-28
Posts: 19

Re: image alt tag vs title tag

Many thanks, Matthew. Greatly appreciated.

Let me take this opportunity to say the ability to publish within Lightroom and use the engine you have created is an excellent combination for me. Frankly, I would be lost without it. I publish a lot of images over a variety of channels on a regular basis. Having looked at your coding in these various elements and the HTML it generates, I've been impressed with the code and your programming skills. As a result, I've been a loyal customer for quite a few years. As expressed in these forums over the years, I always want to be comfortable with the idea that I won't have to switch gears too often. I'm always in hope you will continue to support this product for the years to come. Thank you for what you do.

pj

Offline

#7 2018-07-06 07:13:12

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 5,412
Website

Re: image alt tag vs title tag

Thanks! We plan to keep it up, and Backlight 2 is progressing nicely, so definitely some life left in us. ;-)


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#8 2018-07-07 04:23:16

LifeIsABeach
Member
Registered: 2013-05-28
Posts: 19

Re: image alt tag vs title tag

Follow up question:

Does Okapi and Pangolin differ in terms of how the img alt and title tags are populated?

Offline

#9 2018-07-07 04:40:33

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 14,939
Website

Re: image alt tag vs title tag

comparing the two, it looks like they handle the alt and title tags the same:

alt="<thp>echo $img_alt</thp>" title="<thp>echo $img_title</thp>"

Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Offline

Board footer

Powered by FluxBB