This topic has 5 replies, 3 voices, and was last updated 11 years by bananalust.
-
Author
-
October 25, 2013 at 02:31 #5098bananalustParticipant
Hi – I have tried uploading photos for user profiles on my sweetdate wordpress install at bananalust.com and the quality of the photo displayed on the site is just really terrible (very low quality. Where can I find the settings for photo upload – how can I control and improve the photos on the user profiles. Thanks!
October 25, 2013 at 20:48 #5134JohnDoeParticipantAny chance i could know how you made your nav ? i absolutely love it!
October 26, 2013 at 12:06 #5168SQadminKeymasterHi, Make sure you have this file: wp-content/plugins/bp-custom.php
If not, create it with this content:COPY CODEif ( !defined( 'BP_AVATAR_THUMB_WIDTH' ) ) define( 'BP_AVATAR_THUMB_WIDTH', 120 ); //change this with your desired thumb width if ( !defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) define( 'BP_AVATAR_THUMB_HEIGHT', 120 ); //change this with your desired thumb height if ( !defined( 'BP_AVATAR_FULL_WIDTH' ) ) define( 'BP_AVATAR_FULL_WIDTH', 580 ); if ( !defined( 'BP_AVATAR_FULL_HEIGHT' ) ) define( 'BP_AVATAR_FULL_HEIGHT', 580 ); //change this to default height for full avatar
Normally the theme adds it when you install it
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 7, 2013 at 05:34 #6169bananalustParticipantHi JohnDoe – Thanks! That is the Uber Menu that I bought at codecanyon.
http://wpmegamenu.com/
It is easy to install – if you need a hand let me know
Best,
LeahNovember 7, 2013 at 05:38 #6170bananalustParticipantDid you want me to put that in the plugins folder????? or the plugins/buddypress folder? Thanks
November 7, 2013 at 05:54 #6171bananalustParticipantSo I did see that the file bp-custom.php had been automatically installed in my wp-content/plugins/bp-custom.php
When I opened it it contained the following code – so I see here that the user images were being set to 35px which is much too small
<?php
if ( !defined( ‘BP_AVATAR_THUMB_WIDTH’ ) )
define( ‘BP_AVATAR_THUMB_WIDTH’, 35 ); //change this with your desired thumb widthif ( !defined( ‘BP_AVATAR_THUMB_HEIGHT’ ) )
define( ‘BP_AVATAR_THUMB_HEIGHT’, 35 ); //change this with your desired thumb height
?>As 7th Queen suggested I replaced the code in that file with the following – now my user photos are nice and crisp
<?php
if ( !defined( ‘BP_AVATAR_THUMB_WIDTH’ ) )
define( ‘BP_AVATAR_THUMB_WIDTH’, 120 ); //change this with your desired thumb widthif ( !defined( ‘BP_AVATAR_THUMB_HEIGHT’ ) )
define( ‘BP_AVATAR_THUMB_HEIGHT’, 120 ); //change this with your desired thumb heightif ( !defined( ‘BP_AVATAR_FULL_WIDTH’ ) )
define( ‘BP_AVATAR_FULL_WIDTH’, 580 );if ( !defined( ‘BP_AVATAR_FULL_HEIGHT’ ) )
define( ‘BP_AVATAR_FULL_HEIGHT’, 580 ); //change this to default height for full avatar
?> -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.