Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match filename to alt text #70

Open
samunderwood opened this issue Feb 15, 2024 · 1 comment
Open

Match filename to alt text #70

samunderwood opened this issue Feb 15, 2024 · 1 comment

Comments

@samunderwood
Copy link

I noticed that filenames are not very SEO friendly, e.g. they're usually a random collection of letters like - fkwgpzwagqc.jpg

It'd be much better if the filename matched the alt text, but replaced and spaces with '-' e.g. an image selected with alt text 'person feeding baby', would have a filename of 'person-feeding-baby.jpg'.

This would help the plugin better follow best-practices given by Google in this article - https://developers.google.com/search/docs/appearance/google-images

@samunderwood samunderwood changed the title Match filename to caption Match filename to alt text Feb 15, 2024
@dcooney
Copy link
Owner

dcooney commented Feb 15, 2024

The filename is the actual filename from the API. I like this idea though so happily would review a PR on this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants