<p>Ah yes, <a href="http://galleryproject.org" rel="nofollow noreferrer">gallery2</a>. Used that quite extensively a few years ago. Have a client with an old gallery2 project as well, we might be doing something with it, so we're probably in the same boat.</p>

<p>I can tell you the last time I looked into the gallery project, they were shutting it down. I have no idea where the project stands now, the original authors wanted someone to take it over if possible. The website is still active but when a project is in limbo, it's never a good sign. </p>

<p>Integrating it with Craft is going to be an exercise in futility and it's going to be just as easy to get the original photos working inside Craft "natively". Craft can really do everything Gallery can do... and better because now you can do things  like relate photos back to actual content entries and more.</p>

<p>I took a quick glance at a lot of the site's galleries and it looks like they're not really doing anything special, hardly using any of the gallery features (like tags, etc).</p>

<p>Gallery stores all of its photos in a folder called <code>g2_data</code>. You could grab that folder,  throw it up in a Craft asset source, have Craft index that folder, and everything will be neatly organized by folder ready to roll. Make some Entries that correspond to albums and sub albums and then go to town adding them to each entry/album. Telling Craft about which photos live in which album is going to be the most time consuming but since Gallery 2 stores them hierarchically, at least you have a visual reference vs something simply stored in a flat database structure. </p>

<p>As far as maintainability, Craft is the easiest CMS I've ever had the privilege of using. A lot of my clients figure out most of the control panel before we even have the training session. I remember Gallery2 being very finicky about clearing caches, generating thumbnails, etc. All of this will be handled mostly automatically by Craft.</p>

CC BY-SA 3.0
2017-02-08T13:46:47.650Z
Thanks, knowing what their gallery actually is and that fact that it is no longer being supported will probably make the decision a lot easier.
Benjamin Coates
CC BY-SA 3.0
2017-02-07T03:40:33.673Z
2017-02-07T03:46:25.177Z
2017-02-07T03:46:25.177Z
RitterKnight
<p>I'm currently working with a client who has several hundred photos in a gallery. The gallery consists of albums within albums. The link to their current gallery is here: <a href="http://www.fmquizzing.net/gallery2/main.php" rel="nofollow noreferrer">http://www.fmquizzing.net/gallery2/main.php</a></p>

<p>I'm working on an entire site update and would like to update their photo gallery to integrate directly with Craft if possible. They currently have the photos in folders on their server pulled in dynamically with a PHP script. </p>

<p>Is there a good way to go about creating a gallery like this with Craft, or is it going to be just as good to attempt updating the styles and script on what they already have going? Trying to think both about short term and long term development and maintainability costs.</p>

<templating><gallery><integration>
Creating a multi-dimensional Photo Gallery on Craft CMS
# Creating a multi-dimensional Photo Gallery on Craft CMS

(Asked by: username_0 on 2017-02-06)

I'm currently working with a client who has several hundred photos in a gallery. The gallery consists of albums within albums. The link to their current gallery is here: <http://www.fmquizzing.net/gallery2/main.php>

I'm working on an entire site update and would like to update their photo gallery to integrate directly with Craft if possible. They currently have the photos in folders on their server pulled in dynamically with a PHP script.

Is there a good way to go about creating a gallery like this with Craft, or is it going to be just as good to attempt updating the styles and script on what they already have going? Trying to think both about short term and long term development and maintainability costs.

**Tags:** templating, gallery, integration


---

## 1 answers

### Answer by username_1 on 2017-02-07. Score: 1

Ah yes, [gallery2](http://galleryproject.org). Used that quite extensively a few years ago. Have a client with an old gallery2 project as well, we might be doing something with it, so we're probably in the same boat.

I can tell you the last time I looked into the gallery project, they were shutting it down. I have no idea where the project stands now, the original authors wanted someone to take it over if possible. The website is still active but when a project is in limbo, it's never a good sign.

Integrating it with Craft is going to be an exercise in futility and it's going to be just as easy to get the original photos working inside Craft "natively". Craft can really do everything Gallery can do... and better because now you can do things like relate photos back to actual content entries and more.

I took a quick glance at a lot of the site's galleries and it looks like they're not really doing anything special, hardly using any of the gallery features (like tags, etc).

Gallery stores all of its photos in a folder called `g2_data`. You could grab that folder, throw it up in a Craft asset source, have Craft index that folder, and everything will be neatly organized by folder ready to roll. Make some Entries that correspond to albums and sub albums and then go to town adding them to each entry/album. Telling Craft about which photos live in which album is going to be the most time consuming but since Gallery 2 stores them hierarchically, at least you have a visual reference vs something simply stored in a flat database structure.

As far as maintainability, Craft is the easiest CMS I've ever had the privilege of using. A lot of my clients figure out most of the control panel before we even have the training session. I remember Gallery2 being very finicky about clearing caches, generating thumbnails, etc. All of this will be handled mostly automatically by Craft.

> **Comments:**
> **username_0**: Thanks, knowing what their gallery actually is and that fact that it is no longer being supported will probably make the decision a lot easier.  

---

