Viewing 4 replies - 1 through 4 (of 4 total)
  • Your galleries are nicely integrated! What software did you use?

    Tariq

    i agree

    It looks good, clean, loads fast and like the others said, the galleries are nicely integrated.

    Thread Starter master_kato

    (@master_kato)

    Thanks. I wrote the code for the galleries myself. The code would need some work before making it available as a plugin but I would like to get there.

    The actual galleries (if you visit the gallery page) are all created on the fly based on whatever directories are present. Thumbnails are created if they don’t exist and stored for later. Viewing sized images (800×600) are also created when requested and stored from the original high res (usually 3K x 2K for the newer digital stuff). So all you need to do is to upload a directory full of any resolution images and it works, though I have a strict naming convention for dating purporses.

    The integration with the blog is done with two steps. The first is to create a new post with a custom field that contains the path to the specific gallery. This allows the post to contain one of the small “front” images and a link to the gallery. The second step is for the reverse…to include the post when you look at the gallery and this is done by giving the post slug the same name as the gallery. Since the gallery name includes a date and title this is guaranteed to be unique. When a gallery is requested it looks for a post with that slug name and includes it. If no post exists it will still display the gallery.

    I still have to learn about writing plugins but I would like to make a gallery plugin to streamline the process.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘My new WordPress site with galleries’ is closed to new replies.