WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Alkivia Open Community] Gallery scales user pictures to HUGE on profile (2 posts)

  1. dhewlette
    Member
    Posted 4 years ago #

    Hi,

    I just updated from .9.2 and had to do a little editing on my custom profile page, but ran into an issue I can't seem to solve. Where the user picture before the update fit nicely into my table (see below), now the image takes up the whole page. Viewing the user list (Sample template), the photos show up just fine. However, as soon as you click on a user and view their profile page, the image expands to take up the whole page...literally. I've copied the code from my profile page, but its the same code that worked perfectly before the update.

    Just to note, the gallery was the only thing I had to recode for after the update since the call changed to ak_get_object('akucom')->activeComponent('gallery') from ( aoc_is_active('gallery'). Perhaps something else in the gallery changed?

    <tr>
    		<td width="30" height="10" style="height:32;">		</td>
    	  <td width="141" height="152" rowspan="5" align="center" valign="center" >
    	  <?php if ( ak_get_object('akucom')->activeComponent('gallery') ) {
    	    echo '<div class="left-side">'. aoc_profile_picture($user) . '</div>'; ?>
    <?php } ?></td>
    	  <td height="10" style="height:10;">
    	  </td>
      </tr>

    Thanks,
    Daniel

  2. dhewlette
    Member
    Posted 4 years ago #

    My mistake. I forgot to check the gallery settings page and override wordpress' default "large" size. The update must have overridden this setting. I jut changed it back to what it was before and everything is fine.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags