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

Do not map alt text from photo title #2

Open
jgmac1106 opened this issue May 28, 2019 · 3 comments
Open

Do not map alt text from photo title #2

jgmac1106 opened this issue May 28, 2019 · 3 comments

Comments

@jgmac1106
Copy link

While trying to do this:

post an image with alt text and syndicate to twitter

I encountered this:

photo-title p-name is used to generate alt text. This is problematic as p-name is what syndicates to Twitter and is the title displayed within Known CMS.

Often I would write this to be different than the alt-text

Solution

Add an alt-text field to anytime a photo is uploaded.

@jgmac1106
Copy link
Author

I am going to take this lt="getTitle()), ENT_QUOTES, 'UTF-8'); ?>"/> and then see if I can create a new variable and an input field in the template and switch it out.

@mapkyca mapkyca transferred this issue from idno/known Aug 12, 2019
@cdn
Copy link
Contributor

cdn commented Feb 17, 2020

A quick attempt : https://github.com/cdn/photo/tree/per_image_alts (now with all changes pushed)

Current display template appends to the title…
https://definitely.cn/2020/brooke-bond-trees-in-britain-larch

@mapkyca
Copy link
Member

mapkyca commented Feb 18, 2020

This is on my list, along with a bit of an overhaul of the photos plugin

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