css mod for player pix size

Shoal Summit Solutions Forums MSTW Team Rosters Plugin css mod for player pix size

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2013

    Looking to change the roster pictures from square to the photo dimensions of 4×6.

    I hacked this by modifying mstw-team-rosters.php and this routine by hardcoding in values of array (200,300) in the section:

    In // Add the player’s photo

    $row_string .= get_the_post_thumbnail( $post->ID, array($table_photo_width, $table_photo_height) ) . ‘</td>’;

    How can I do this right? Modifying the roster display setting doesn’t seem to fix this — still always end up with a square photo for both roster table and gallery.

    Feel this could maybe be a bug?

    #2014

    You can see the hacked array (200.300) version here:

    http://wolfpackultimate.com/?page_id=119

    #2019
    Mark
    Keymaster

      Hi Charles,
      Are you referring to the photos in the table or in the gallery? For the table, which looks pretty good on your site, check out the List vs Gallery view post in this forum.

      Yes, this is an undocumented feature. I know why I did it this way, but I will make it better in the next release.

      Let me know.
      -Mark

    Viewing 3 posts - 1 through 3 (of 3 total)
    • You must be logged in to reply to this topic.