Git Product home page Git Product logo

neuegal's People

Contributors

nickswalker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

maitrenem kulak

neuegal's Issues

undocumented dependencies

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.

Cache question

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?

Incompatible with Windows

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" />

PHP ERROR 500

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.