You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2026-05-16 09:21:12 +02:00
implementing thumbnail sizes
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import {Utils} from "../Utils";
|
||||
import {Directory} from "./Directory";
|
||||
|
||||
export class Photo {
|
||||
constructor(public id?:number, public name?:string, public directory?:Directory, public width?:number, public height?:number) {
|
||||
}
|
||||
|
||||
public static getThumbnailPath(photo:Photo) {
|
||||
/*public static getThumbnailPath(photo:Photo) {
|
||||
return Utils.concatUrls("/api/gallery/content/", photo.directory.path, photo.directory.name, photo.name, "thumbnail");
|
||||
}
|
||||
|
||||
public static getPhotoPath(photo:Photo) {
|
||||
return Utils.concatUrls("/api/gallery/content/", photo.directory.path, photo.directory.name, photo.name);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
Reference in New Issue
Block a user