Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:pinup [2023/04/07 17:49] – [Install] darronprojects:pinup [2023/12/20 09:03] (current) – [Pinup Home Photos] darron
Line 1: Line 1:
 ==== Pinup Home Photos==== ==== Pinup Home Photos====
- 
-This documentation is WORK-IN-PROGRESS 
  
 Pinup is a home photo gallery application written in PHP Pinup is a home photo gallery application written in PHP
Line 12: Line 10:
  
 The user interface is designed for simplicity. The user interface is designed for simplicity.
 +
 +Pinup was written in March 2023 and updated in December 2023 with bug fixes, database and UI tweaks, and a slideshow feature.
 ===Features=== ===Features===
  
Line 24: Line 24:
    * Gallery view of tagged images    * Gallery view of tagged images
    * Gallery view of all images    * Gallery view of all images
 +   * Slideshow of loved, tagged or all images
  
 Setup requires a Linux host running PHP and apache2. The command Setup requires a Linux host running PHP and apache2. The command
Line 56: Line 57:
  
 In this example, a gallery called mrchips is created. In this example, a gallery called mrchips is created.
 +
 +==Server==
 +
 +Install Apache2 with PHP and SQLITE3.
  
 ==Install== ==Install==
 +
 +Create site directory and download.
  
 <code> <code>
 sudo mkdir mrchips sudo mkdir mrchips
-sudo chown user:mrchips+sudo chown user mrchips
 hg clone http://hg.kewl.org/pub/Pinup mrchips hg clone http://hg.kewl.org/pub/Pinup mrchips
 +cd mrchips
 </code> </code>
 +
 +==Config==
 +
 +Create config from template.
 +
 +<code>
 + sed 's/HOSTNAME/mrchips/g' routes/apache.conf > /tmp/mrchips.conf
 +</code>
 +
 +After the config is created above, edit the IP address section then
 +move it to the correct location for your install.
 +
 +Include the config explicitly if required and restart the web service.
 +
 +==Initialise==
 +
 +Unzip any images into the Images directory within the web root.
 +
 +Import the images into the site.
 +
 +<code>
 +./bin/import.php ./Images/
 +</code>
 +
 +===Usage===
 +
 +<wrap right>
 +{{:projects:pinup_love.jpg?100|Love}}
 +{{:projects:pinup_tags.jpg?100|Tags}}
 +{{:projects:pinup_garden.jpg?100|Garden}}
 +{{:projects:pinup_images.jpg?100|Images}}
 +</wrap>
 +
 +When you first visit the site it will land on the Love page. This will
 +contain no images for now. The images link will contain every image
 +imported. On this page you can love images and also create a tag for
 +an image and add that tag to other images to create a group.
 +
 +