Skip to content
Teri's Digs
UNG
Active
DOWNLOAD   ::   DEMO
Freshmeat project page   ::   Version: 20090226.1   ::   Updated: February 26, 2009
GNU General Public License

UNG (UNG’s Not Gallery) is a PHP script for control freaks, tweakers, and other power users.

It browses subdirectories (uploaded manually via FTP/SCP/etc) of a specified location and creates a hierarchy of categories and pictures. It automatically creates thumbnails for images that don’t have them already and has an optional comment system so people can discuss posted pictures.

I originally made this just for my own use, but I was told that other people may be interested in utilizing something like this, so I made the source available and started accepting patches from others. Since then I’ve moved on to a gallery more integrated with my WordPress blog, but that was only for the integration and not because of any fault I had with UNG.

The code is pretty messy- I wrote this in one go back when I was still new to PHP and haven’t really gone over it to any great (well, any) extent since then. Add to that the modifications submitted by others, and you’re left with a jumble of code that works by virtue of sheer stubbornness. Needless to say, The code is probably very redundant with tons of extraneous things. If it isn’t, then forget I said that :)

To use it, just save the .txt file as a .php file on your webserver and change some configuration values. Instructions and Changelog are included near the top of the file.


DEMO


Updated February 26, 2009:

  • Removed $linkdir, which no longer seemed to serve a purpose.
  • Fixed a bug with cachedirs.
  • $comments_op and $comment_info are respected now.

DOWNLOAD

No tags for this post.
You can leave a response, or trackback from your own site.
Follow this discussion (RSS)
3 comments on UNG
  1. Posted by Sax on 2004.11.23 at 03:56
    [gravatar] - Sax

    do you still have that database upgrade script? lol, I'm running a version on icy's site that's like a friggin year old… I went to upgrade it and I'm like..woah, the database schema is different whaddaya know.

  2. Posted by Teri on 2004.11.23 at 09:37
    [gravatar] - Teri

    Like the changelog from 4/14 says, the script is available: http://terisolow.com/programs/upgrade_database.txt

  3. Posted by darkbliss on 2006.09.26 at 13:50
    [gravatar] - darkbliss

    Like the UNG script kinda got it running on my laptop forgot that it probbley needs a php_mod but it seemed to provisionally work (oh how i need a new linux box…:( ).

    Nice site BTW,noticed the cute goth girl in your moblog section, is she sub? just that i noticed the chain ;).

    Will leave a post if i get around to using the script on my new site, i'm doing a website where user's post comments on my scanned psyche file lol~ (i've got a moron for a psychiatrist ~ :( )


Leave a Comment
:

:

:

: