Grow your CSS skills. Land your dream job.

Simple PHP gallery with admin management

  • # April 20, 2013 at 2:04 pm

    Hello!

    Here’s the thing, I’m making a small site, 3 subpages, not much of a content really.
    The only advanced functionality this site needs to have is an image gallery.

    I decided not to make this into WordPress solely because of the gallery since it would be an overkill.

    Do you know any great scripts I could use? My desired functionality would be following:

    * PHP script inside gallery subpage
    * gallery would limit itself to img directory
    * each time the page is loaded it returns the miniatures of every image file in that directory (is it even possible and reliable, on-the-fly minifying of images?)
    * according to the previous point – I’d like either simplest functionality of simply putting images through FTP and I’m done or a simple uploading interface with login/password, like http://address.of.the.site/gallery/admin/

    Any ideas? I guess for someone who’s experienced in PHP writing something like that is fairly easy, so I think it’s available somewhere.

    Is it even a good idea to do something like that? I just think that using WordPress only to manage the gallery isn’t really a good idea… Or should just throw WP in and don’t care?

    Cheers!

    # April 20, 2013 at 3:48 pm

    It’s more work than you think, with details you’ll need to attend to (especially if you want to manage uploading and resizing images).

    If you don’t know where to start, and don’t want to hire someone, you’d be better off using wordpress (or some other CMS).

    # April 20, 2013 at 5:58 pm

    Wordpress has a really nice gallery plugin. There was img br0wzer, but that hasn’t been updated in a long time.
    I believe chris coyer did a video on it.

    # April 20, 2013 at 7:22 pm

    @FragaGeddon – thanks A LOT!!!!

    I guess it’ll do the trick, I’ll review the video tomorrow, from what I’ve already seen while playing with it, it’s pretty nifty :D

    Thanks again!!!

    # April 21, 2013 at 9:51 am

    I think the problem I had was with the cache. Sometimes it wouldn’t update, but its been awhile since I’ve used it.

    # April 21, 2013 at 5:01 pm

    It defaults at 3600s, it’s problematic ;p I disabled it though, I don’t need it really.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".