add: hashtag to album page to go directly on the picture you clicked
This commit is contained in:
@ -14,13 +14,14 @@ if TYPE_CHECKING:
|
||||
from album import Album
|
||||
|
||||
class Picture():
|
||||
def __init__(self, picture_path: Path, page = None, raw: Path|None = None, is_repertoried: bool = True):
|
||||
def __init__(self, picture_path: Path, id: int, page = None, raw: Path|None = None, is_repertoried: bool = True):
|
||||
self._large: Path = picture_path
|
||||
self._small: Path = Path(picture_path.get_absolute_path()[:-4] + "_small.jpg")
|
||||
self._thumb: Path = Path(picture_path.get_absolute_path()[:-4] + "_thumb.jpg")
|
||||
self._profile_file: Path = Path(picture_path.get_absolute_path() + ".out.pp3")
|
||||
self._albums_file: Path = Path(picture_path.get_absolute_path()[:-4] + "_albums.txt")
|
||||
self._raw: Path|None = raw
|
||||
self.id: int = id
|
||||
self._page: Page = page
|
||||
self._albums_name: list[str] = []
|
||||
self.albums: list[Album] = []
|
||||
|
Reference in New Issue
Block a user