Archive / October 2014

Listing images located in a specific folder

Published: 10/10/2014, Author: Håkan Edling

An easy way to build image archives is to use folders as a base. This way the content administrator can easily upload images into a specific folder and be confident in that they will show up in the correct place.

The first thing to decide is if you're going to locate the folder by it's name, or simply hardcode it somewhere. If you want to find the folder by name you have to be aware that folder names doesn't have to be unique, so there's always a risk of getting multiple results back.


Read more