Use firbug if you don't use it, and investigate the image.
See if it has a class or find a parent that has a class.
Then, go to your theme/theme.css file and add:
.image-class {
width: 100px;
}
or if you have a parent that has a class or ID.
.parent-class img {
width: 100px;
}
OR
#parent-id img {
width: 100px;
}
you could set also the height of the image, then the browser will resize it and you will lose quality.
If you set only widht or height, it will be resized accrodingly, and it will keep the aspect ratio
Comments
I think you want to remove
I think you want to remove the link and only to display the image without link to the user profile.
do you want to change that globally or only in node template?
1. only locally.
you could use something like:
You have to check the $author->picture_path, I don't think that is ok.
You could try:
and you will see all properties of the $account and then you can access the path to the user's image.
If you want to change it
If you want to change it globally.
Here is the function that you need:
http://api.drupal.org/api/function/template_preprocess_user_picture/6
You have to get that function and copy/paste it into your theme/template.php.
Rename it to your theme name.
Edit it like:
Delete the section with drupal l-function.
Thank's
Thank you it works.
But now I have another problem.
The picture is to large and I am using ImageCache to make them the same size.
Ok, for that use .css. Use
Ok, for that use .css.
Use firbug if you don't use it, and investigate the image.
See if it has a class or find a parent that has a class.
Then, go to your theme/theme.css file and add:
.image-class {
width: 100px;
}
or if you have a parent that has a class or ID.
.parent-class img {
width: 100px;
}
OR
#parent-id img {
width: 100px;
}
you could set also the height of the image, then the browser will resize it and you will lose quality.
If you set only widht or height, it will be resized accrodingly, and it will keep the aspect ratio
Great
Great
Everything is working fine now.