Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.
/ pixl Public archive

Presents images with some transition effects (fx) so that I can improve my web development skills and learn new things.

License

Notifications You must be signed in to change notification settings

foxfabi/pixl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixl

Pronunciation: /ˈpɪksəl/, /ˈpɪksɛl/

Presents images with some transition effects (fx) so that I can improve my web development skills and learn new things.

Purpose

The purpose is to improve my web development skills. I want to ...

  • ... have fun
  • ... learn new technologies, reflect and improve myself
  • ... develop something i can be proud of

Learning through experience. Learning by doing.

Masterplan

Build a web slideshow application from scratch for my daughter using:

  • HTML
  • // TODO: SCSS/SASS as a pre-processor for the CSS wich animate the images
  • JQuery to preload and show the slides
  • Gulp as a task runner (gulpfile.js)
  • JSHint to detect errors and potential problems in JavaScript code
  • CSSLint to detect errors and potential problems in CSS code
  • NPM for Node.js package management

Note: I'm using the beautiful free pictures found on Unsplash.

Workflow

I use Gulp for the front-end development workflow, making it faster and more efficient. I automate different tasks such as:

  • Injecting files that have to be referenced
  • Linting code (showing warnings and errors in console window)
  • Watching for changes in CSS, HTML and JS files
  • Concatenating and minifying code
  • Cropping and optimizing images

Architecture

First of all the project root is NOT the webroot. The webroot is ./build/.

Pixl consist of a PHP script images.php that will scan the folder ./images/ for JPG files and provide that sequence of images in JSON format to a jQuery script script.js to display it in a slideshow. After each run, the list of images will be reloaded and shuffled. The photographer is determined on the basis of the image name.

Installation

  • Download or clone the Pixl github repository
  • Run the npm install command
  • Upload the files from ./build/ folder to your Webserver

Add images

  • Run the gulp watch:images command
  • Place some images into the folder ./source/uploads/
  • Upload the files from ./build/images folder to your Webserver webroot

Requirements

  • NPM is installed on your computer when you install Node.js
  • Make sure ImageMagick is installed on your system

Author

Fabian Dennler - Github

License

See the LICENSE file for details.

Changelog

See the CHANGELOG file for details.

About

Presents images with some transition effects (fx) so that I can improve my web development skills and learn new things.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published