• Resolved Scott Fennell

    (@scofennellgmailcom)


    Hello! This plugin seems to append a spinner gif to the login form. The utility of doing so is not readily apparent to me (my fault for not understanding this plugin all that well perhaps), but regardless, retinify that sucker! The 2x version is right there in the same folder. Here’s how I’m doing it in a similar plugin:

    `function get_spinner() {

    $src = includes_url( ‘/images/spinner-2x.gif’ );

    $alt = esc_attr__( ‘Logging you in’, ‘lxb-login’ );

    $class = __CLASS__ . ‘-‘ . __FUNCTION__;

    $out = “<img class=’$class’ style=’display: none;’ src=’$src’ alt=’$alt’ height=16 width=16>”;

    return $out;

    }`

    • This topic was modified 7 years, 7 months ago by Scott Fennell.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Use the retina spinner!’ is closed to new replies.