Giter Club home page Giter Club logo

Comments (7)

mhirdes avatar mhirdes commented on July 21, 2024

Hey, thanks but you can already set a fallback image in TS with plugin.tx_csseo.social.defaultImage .

from cs_seo.

 avatar commented on July 21, 2024

Thank you, sorry I must have missed that. Can you set a different one for og:image than for twitter:card?

from cs_seo.

mhirdes avatar mhirdes commented on July 21, 2024

Is this so necessary? If so, should we also make a fallback if no extra twitter:card image is set?

from cs_seo.

 avatar commented on July 21, 2024

Yes as Twitter Cards and Open Graph use different pixel dimensions if you want the optimum visibility for your image.

from cs_seo.

mhirdes avatar mhirdes commented on July 21, 2024

Yes I know. So in the editor you can set different dimensions. But ok, I'll add an extra option for a special Twitter image. If it is not set, the Open Graph image will be the fallback.

from cs_seo.

mhirdes avatar mhirdes commented on July 21, 2024

So the default image option is available. The fallback order is:

  1. Twitter image is set on the reocrd
  2. Open Graph image is set on the reocrd
  3. Default Twitter image
  4. Default Open Graph image

All images are scaled to the dimensions that are set in plugin.tx_csseo.social.twitter.image.

Does that work for you?

from cs_seo.

 avatar commented on July 21, 2024

That's excellent, thanks!

from cs_seo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.