I want to add an image next to the name in the Team slider view

Support Forums for LiveMesh Themes & Plugins Forums Agile Theme Support I want to add an image next to the name in the Team slider view

This topic is: not resolved

This topic contains 5 replies, has 3 voices, and was last updated by Raghavendra Raghavendra 5 years, 5 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5619
    Rickdg
    rickdg
    Member
    Post count: 40

    In the team-shortcodes.php file – line 265 is this line of code:
    $output .= '<li><a href="#slider-member' . ++$member_count . '">' . $name . '</a></li>';
    Can you help me? I need to add the image associated with the member in this list. In fact what I really want is to have 2 images associated with a member in the array, one for the list and the one that shows after you click the list.

    #5633
    Ernesto
    Ernesto
    Member
    Post count: 702

    I’m afraid that adding two images would require lot of complex code modifications, and we cannot provide that kind of support in these forums.

    #5639
    Rickdg
    rickdg
    Member
    Post count: 40

    Ok, How about just adding the image to the list then?

    #5692
    Rickdg
    rickdg
    Member
    Post count: 40

    why can't you delete a post that you created on this blog?
    Since I couldn’t delete it I may as well ask this question.

    #5693
    Rickdg
    rickdg
    Member
    Post count: 40

    Ok, If I had to guess how to add an image with the link – this would be it.
    $output .= '<li><a href="#slider-member' . ++$member_count . '"><img src= "#slider-member' . ++$member_count . $photoUrl'' . $name . '</img></a></li>';
    I have no idea what the variable name is – or even if there is one, I chose $photoUrl.
    Can this be explained without saying that it is too complex to code modifications

    #5731
    Raghavendra
    Raghavendra
    Moderator
    Post count: 4614

    I am not sure what you meant by $photoURL here or how you are initializing it but you need to call the method mo_thumbnail() to display the image. There are quite a few examples of this in the theme source code and in the team-shortcodes.php file as well.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.