Git Product home page Git Product logo

Comments (8)

r-brown avatar r-brown commented on August 25, 2024

Hi, we'd like to automatically show the image credit on (or just below) the post's featured image, just as here: http://prntscr.com/a759en or here: http://prntscr.com/a6ma3l how can we accomplish that?

source: https://wordpress.org/support/topic/image-credit-on-featured-image

from credit-tracker.

Jaace avatar Jaace commented on August 25, 2024

I can look into this.

from credit-tracker.

Jaace avatar Jaace commented on August 25, 2024

A few questions: should the credit be just the Author/Owner field on the image or a combination of the fields, like: author/owner, source, publisher?

From the screenshot it looks like maybe just the author and the publisher?

Additionally, does this feature need to have an option to choose above/below the photo for this information? If we go down that path, we'd probably need to add a color setting so that if it's over the photo the text is visible, if it's light or dark.

from credit-tracker.

Jaace avatar Jaace commented on August 25, 2024

PR opened here: #27

Let me know about the question above and I can modify to pull in the other data, if needed.

from credit-tracker.

r-brown avatar r-brown commented on August 25, 2024

Hi @Jaace - thank you for your support & contribution.
We need to use Copyright format while rendering image caption texts on the websites. As the Copyright format is defined by user, he is free to choose any of available placeholders (e.g. %author%, %license%, %ident_nr%, etc.).

credit-tracker-copyright-format

from credit-tracker.

Jaace avatar Jaace commented on August 25, 2024

Absolutely, I can look into that this weekend!

from credit-tracker.

Jaace avatar Jaace commented on August 25, 2024

@r-brown I've pushed up changes to address the use of the copyright format field. The PR has been updated here: #27

Thanks!

from credit-tracker.

r-brown avatar r-brown commented on August 25, 2024

Additional fine-tunings:

  • move logic to the credit-tracker-shortcodes.php
  • add the switch to allow enable disable thumbnail credit rendering (default: true)
  • fix error due to the missing thumbnail image

from credit-tracker.

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.