• Resolved Topher

    (@topher1kenobe)


    A client is paying me to make their site faster, and I’m using GTMetrix at the moment. One of their suggestions was to put image dimensions in the html. I updated soliloquy-lite/Tgmsp/Lite/Shortcode.php line 122 to be like this:

    $slide .= apply_filters( ‘tgmsp_image_output’, ‘<img class=”soliloquy-item-image” src=”‘ . esc_url( $image[‘src’] ) . ‘” alt=”‘ . esc_attr( $alt ) . ‘” width=”‘ . esc_attr( $image[‘width’] ) . ‘” height=”‘ . esc_attr( $image[‘height’] ) . ‘” title=”‘ . esc_attr( $title ) . ‘” />’, $id, $image, $alt, $title );

    It works great.

    Also, they showed me a bunch of images that could be smushed a bit (and even did it for me, I was impressed). One was the little circles you click to advance slides. Do you want the smushed version?

    http://wordpress.org/plugins/soliloquy-lite/

  • The topic ‘tweaks etc’ is closed to new replies.