• Resolved filmboy999

    (@filmboy999)


    This is a great plugin, however it is not displaying the image title of team members in the Team Widget

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author livemesh

    (@livemesh)

    Are you saying the team member name is missing? Or is it the image title attribute for team member image? Pls clarify.

    Thread Starter filmboy999

    (@filmboy999)

    Sorry I meant that the image title attribute for team member image is missing

    Plugin Author livemesh

    (@livemesh)

    The plugin certainly populates the image title as well as ALT attribute for the image. This is derived from the title you provided for the image used for the team member in the media page. Pls verify that the title for the image is specified in the attachment or media page.

    Thread Starter filmboy999

    (@filmboy999)

    Hi,

    Yes both title and ALT are specified in the media page.
    Thanks

    Nick

    Plugin Author livemesh

    (@livemesh)

    Then the title and alt should show up in the team members page. Our dev servers are reflecting this and the code too is written that way as verified by me. Can you pls share a link to the page pls if you still have trouble? Thanks

    Thread Starter filmboy999

    (@filmboy999)

    Thanks for looking.

    This is the page…

    https://bigminnowlearning.com/

    …the title is definitely set on all the team members’ images in the media library

    Plugin Author livemesh

    (@livemesh)

    Thanks for helping us uncover this bug. Have made the required change for next update which is expected within next one week. Meanwhile, if you want to go ahead and have this change now – pls change line number 382 of includes/helper-functions.php to –

            $image_attr = array(
                'class' => trim($image_class),
                'alt' => get_the_title($attachment_id),
                'title' => lae_get_image_alt($attachment_id)
            );
    
    Thread Starter filmboy999

    (@filmboy999)

    Brllliant. Thanks so much for your quick response guys..

    Not sure line 382 looks right to me to change though. My line 382 reads…

    if ( !$image_src && isset( $image_setting['url'] ) ) {

    It looks like line 371-3 on mine…

    `$image_attr = array(
    ‘class’ => trim( $image_class ),
    );`

    Excellent plugin and excellent service!

    Cheers

    Nick

    • This reply was modified 6 years, 7 months ago by filmboy999.
    • This reply was modified 6 years, 7 months ago by filmboy999.
    Plugin Author livemesh

    (@livemesh)

    You are welcome. 382 seems to be right as per this – https://plugins.trac.www.ads-software.com/browser/addons-for-elementor/trunk/includes/helper-functions.php. May be it is slightly different as seen in the editor you use.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Image Title Missing’ is closed to new replies.