nickswalker / neuegal Goto Github PK
View Code? Open in Web Editor NEWA simple, no-database PHP image gallery.
A simple, no-database PHP image gallery.
Given the description: "A simple, no-database, PHP image gallery", I thought it would be quick and simple to install on Ubuntu 16 with Apache2. It wasn't.
First I couldn't get it to work without composer installed. I tried the work-around mentioned in another issue of copying the vendor directory from the 1_1 release, but that didn't work.
I installed composer using:
curl -s https://getcomposer.org/installer | php
Then I copied the files to the server's documentRoot (/var/www/html), and ran "composer update".
Then I updated the file ownership as appropriate for the Apache setup (www-data in my case).
After that neuegal still wouldn't work due to the following error:
PHP Fatal error: Uncaught Error: Class 'SimpleXMLElement' not found in /var/www/html/src/FileSystemHelper.php
Which means it requires the php-xml package:
apt install php7.0-xml
followed by a restart of Apache.
The next error was:
Call to undefined function Nickswalker\\NeueGal\\imagecreatefromjpeg() in /var/www/html/src/NeueGal.php:224
Which means it requires php-gd:
apt install php7.0-gd
followed by another Aapache restart.
Now it is working for me.
Love your work here! I used it as the starting point for a feature within my site. One question: When you modify a gallery folder, do you ALWAYS have to delete the CACHE folder, or will it rebuild itself at some point?
Nice, but it wont work on windows. Links problem
/C:\xampp\htdocs\neuegal\Sample Gallery/cache/Nested Folder/Green and Yellow_300.jpg
<link rel="stylesheet" href="/C:\xampp\htdocs\neuegal\Sample Gallery//custom-style.css" media="all" />
<link rel="stylesheet" href="/C:\xampp\htdocs\neuegal\themes\default/style.css" media="all" />
There are errors in the php file.
Line 3 is trying to call to /vendor/autoload.php, which doesn't exist.
Where do I find this file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.