Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (3 votes)

100% thumbs up 0% thumbs down

How would you rate this answer?



Thank you for rating this answer.

How can I resize Author Pictures?

For NX 1.7 and above:

You can change the size for author pictures from your control panel. Go to Settings > Author Settings and there will be options there "Author Picture Size" where you can give a specific maximum size for author pictures.

For Versions older than NX.1.7, use the following:

The size of an author picture is determined by the actual size of the picture. Should you want to restrict this without actually editing the pictures, you would need to change their display size via HTML. To do this, you need to open up /admin/includes/classes/class.helper.php and then find this function:

function GetAuthorPic($AuthorId, $AddClass = false, $ClassName = "Picture")
   
Inside it will be this line:

$output .= sprintf("src='%s/authorpics/%s' align=left>", $GLOBALS["AL_CFG"]["siteURL"], $pic);

Just change it to:

$output .= sprintf("src='%s/authorpics/%s' width='64' height='64' align=left>", $GLOBALS["AL_CFG"]["siteURL"], $pic);

(and just change '64' to what ever number you want).

If you have any troubles with this guide, send in a trouble ticket via your client area.


Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software