User Pic Resize

gameovercast - May 13, 2008 - 22:16

Hello,
I am using the greenNblack theme. I would like to resize the user picture that apear next to posts. Any way to do this?

If you need to see it
www.gameovercast.com
Let me know if you need more info

=-=

VeryMisunderstood - May 13, 2008 - 22:22

change the setting for user pic sizes that users can upload in administer -> user settings

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

No I need them to stay at

gameovercast - May 13, 2008 - 22:37

No I need them to stay at 100 because they are synced with phpbb and cannot be changed.

Is there anyway to head into the files and code them that way?

Help Please

gameovercast - May 14, 2008 - 02:28

Help Please

in your theme...

silverwing - May 14, 2008 - 02:57

in your theme, look in node.tpl.php or comment.tpl.php and find the class that the $picture is in. Then find that in the style.css and change the width and height to 100px

~silverwing

_____________________________________________
Land of Midnight | MisguidedThoughts | showcaseCMS

I tried that it just shrunk

gameovercast - May 15, 2008 - 01:11

I tried that

it just shrunk the border on all the pictures. they were still the same size but just cut off.

Here is what my code on node looks like

  <div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
 
<?php if ($picture) {
      print
$picture;
    }
?>

   
    <?php if (!$page) { ?><h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2><?php }; ?>
    <?php if ($submitted) { ?><span class="submitted"><?php print $submitted; ?></span><?php } ?>
    <?php if ($terms) { ?><span class="taxonomy"><?php print $terms?></span><?php } ?>
    <div class="content"><?php print $content?></div>
    <?php if ($links) { ?><div class="links"><?php print $links?></div><?php } ?>
   
  </div>

=-=

VeryMisunderstood - May 15, 2008 - 11:58

what css did you use ?

after changing the css did you clear your cacher in both your browser and your DB ?

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

 
 

Drupal is a registered trademark of Dries Buytaert.