Skip to content
This repository has been archived by the owner on Dec 2, 2017. It is now read-only.

Redirect from an album-name to a Lychee-album.

Notifications You must be signed in to change notification settings

electerious/lychee-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

[Deprecated] Redirect

Redirect is an extension for Lychee, which redirects the user to an album inside Lychee. Or with other words: It turns an album-name into an album-id.

Installation

This extension requires a working Lychee v2.5 on your computer or server.

Navigate to the plugin-folder (plugins/) of your Lychee and run the following command:

git clone https://github.com/electerious/lychee-redirect.git redirect

Open the new folder, copy the config.sample.ini and rename the copy to config.ini. Than open the INI and fill the properties with your configuration.

How to use

Open your browser and enter the address to the redirect-folder. Append ?name={albumname} to the end of the URL. Make sure that you replace {albumname} with a name of an album in your Lychee. The complete URL could look like this:

http:https://lychee.example.com/plugins/redirect/?name=test

The script will redirect you to the corresponding album in Lychee.

License

(MIT License)

Copyright (C) 2014 Tobias Reich

About

Redirect from an album-name to a Lychee-album.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages