increase width of the aside area and make default profile image size 300x300
This commit is contained in:
parent
e12d58a75c
commit
efa55437d4
@ -807,7 +807,7 @@ function contact_block() {
|
|||||||
$shown = get_pconfig($a->profile['uid'],'system','display_friend_count');
|
$shown = get_pconfig($a->profile['uid'],'system','display_friend_count');
|
||||||
|
|
||||||
if($shown === false)
|
if($shown === false)
|
||||||
$shown = 24;
|
$shown = 25;
|
||||||
if($shown == 0)
|
if($shown == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ function profile_photo_post(&$a) {
|
|||||||
$im = photo_factory($base_image['data'], $base_image['type']);
|
$im = photo_factory($base_image['data'], $base_image['type']);
|
||||||
if($im->is_valid()) {
|
if($im->is_valid()) {
|
||||||
|
|
||||||
$im->cropImage(175,$srcX,$srcY,$srcW,$srcH);
|
$im->cropImage(300,$srcX,$srcY,$srcW,$srcH);
|
||||||
|
|
||||||
$aid = get_account_id();
|
$aid = get_account_id();
|
||||||
|
|
||||||
@ -411,7 +411,7 @@ function profile_photo_crop_ui_head(&$a, $ph){
|
|||||||
$width = $ph->getWidth();
|
$width = $ph->getWidth();
|
||||||
$height = $ph->getHeight();
|
$height = $ph->getHeight();
|
||||||
|
|
||||||
if($width < 175 || $height < 175) {
|
if($width < 300 || $height < 300) {
|
||||||
$ph->scaleImageUp(200);
|
$ph->scaleImageUp(200);
|
||||||
$width = $ph->getWidth();
|
$width = $ph->getWidth();
|
||||||
$height = $ph->getHeight();
|
$height = $ph->getHeight();
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
padding: 5px;
|
padding: 5px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
resize: vertical;
|
resize: vertical;
|
||||||
height: 150px;
|
height: 245px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* saved searches */
|
/* saved searches */
|
||||||
|
@ -406,9 +406,10 @@ footer {
|
|||||||
|
|
||||||
|
|
||||||
#profile-photo-wrapper img {
|
#profile-photo-wrapper img {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 300px;
|
||||||
|
height: auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
width: 197px;
|
|
||||||
height: 197px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#profile-photo-wrapper {
|
#profile-photo-wrapper {
|
||||||
@ -571,7 +572,7 @@ footer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.photo {
|
.photo {
|
||||||
border: 1px solid #AAAAAA;
|
border: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.photo-top-photo, .photo-album-photo {
|
.photo-top-photo, .photo-album-photo {
|
||||||
|
@ -7,7 +7,7 @@ $(document).ready(function() {
|
|||||||
if( $('#css3-calc').width() == 10) {
|
if( $('#css3-calc').width() == 10) {
|
||||||
$(window).resize(function() {
|
$(window).resize(function() {
|
||||||
if($(window).width() < 767) {
|
if($(window).width() < 767) {
|
||||||
$('main').css('width', $(window).width() + 231 );
|
$('main').css('width', $(window).width() + 279 );
|
||||||
} else {
|
} else {
|
||||||
$('main').css('width', '100%' );
|
$('main').css('width', '100%' );
|
||||||
}
|
}
|
||||||
|
@ -154,7 +154,7 @@ if(file_exists('view/theme/redbasic/css/style.css')) {
|
|||||||
|
|
||||||
$x = file_get_contents('view/theme/redbasic/css/style.css');
|
$x = file_get_contents('view/theme/redbasic/css/style.css');
|
||||||
|
|
||||||
$aside_width = 231;
|
$aside_width = 279;
|
||||||
|
|
||||||
// left aside and right aside are is 231px + converse width
|
// left aside and right aside are is 231px + converse width
|
||||||
if($converse_center) {
|
if($converse_center) {
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
'croppa',
|
'croppa',
|
||||||
{
|
{
|
||||||
previewWrap: 'previewWrap',
|
previewWrap: 'previewWrap',
|
||||||
minWidth: 175,
|
minWidth: 300,
|
||||||
minHeight: 175,
|
minHeight: 300,
|
||||||
maxWidth: 640,
|
maxWidth: 640,
|
||||||
maxHeight: 640,
|
maxHeight: 640,
|
||||||
ratioDim: { x: 100, y:100 },
|
ratioDim: { x: 100, y:100 },
|
||||||
|
Reference in New Issue
Block a user