forked from GNUsocial/gnu-social
[PLUGINS] Removed GNUsocial{Photo, Photos, Video} as we don't need them anymore
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
function increasePhotoSize() {
|
||||
$('.photoingallery, .albumingallery').each(function(index) {
|
||||
this.height *= 1.1;
|
||||
this.width *= 1.1;
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
function decreasePhotoSize() {
|
||||
$('.photoingallery, .albumingallery').each(function(index) {
|
||||
this.height /= 1.1;
|
||||
this.width /= 1.1;
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
function scalePhotosToSize(size) {
|
||||
$('.photoingallery, .albumingallery').each(function(index) {
|
||||
if(this.height > this.width) {
|
||||
this.width = this.width*size/this.height;
|
||||
this.height = size;
|
||||
}
|
||||
else {
|
||||
this.height = this.height*size/this.width;
|
||||
this.width = size;
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}
|
@@ -1,14 +0,0 @@
|
||||
.photocontainer, .albumcontainer {
|
||||
display: block;
|
||||
background-color: yellow;
|
||||
float: left;
|
||||
padding: 20px;
|
||||
margin: 15px;
|
||||
}
|
||||
|
||||
.photodescription {
|
||||
display: block;
|
||||
background-color: #dddddd;
|
||||
padding: 20px;
|
||||
margin: 15px;
|
||||
}
|
Reference in New Issue
Block a user