Search for answers or browse our knowledge base.
How to sort images inside your galleries
NextGEN Gallery has three different types of settings that you can use to sort your images or photographs inside your galleries.
Please note that these sort settings will be overwritten: the top priority corresponds to the settings inside a blog post or page, next are the sort settings inside a gallery, and, finally the settings inside Image Options.
Image Options
You can set up a default sort method to be used by your galleries in NextGEN Gallery > Other options > Image Options.
![image-60 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-60.png)
![image-61 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-61-1024x485.png)
- On What’s the default sorting method? you have five different options:
- Custom: This is the default value of this setting, and it will allow you to change the order of your photos inside your gallery, blog, or page.
- Image ID: Sort your images by image ID. This ID is an incremental numeric value. Your Image ID is available in the ID column.
- Filename: It will sort your gallery using the filename.
- Alt/Title Text: It will sort your galleries by Alt & Title Text information. Sometimes this information is similar to the filename in case the uploaded image didn’t have a title initially. You can adjust the title after uploading.
- Date/Time: It will sort your images by the date. Please, take into consideration that the date used by NextGEN Gallery is based on the meta-information of your photograph. If you need to adjust that date, you need to do it before uploading your photo.
- On Sort in what direction? you have two options:
- Ascending: from lowest to highest.
- Descending: from highest to lowest.
Inside each gallery
You can set up a default order for each gallery if you like.
Go to NextGEN Gallery > Manage Gallery. Choose the gallery that you want to sort.
Note: You need What’s the default sorting method? set to Custom on Gallery > Other options > Image Options.
![image-62 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-62.png)
Click on “Sort Gallery”
![image-63 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-63.png)
You can then sort by Image ID, Filename, Alt/Title text, Date/Time.
![image-64 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-64.png)
Or you can drag and drop each picture to the desired location
![image-65 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-65.png)
Finally, click on Update Sort Order.
![image-66 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-66.png)
While inserting your Gallery
You should be able to arrange the order inside a blog post or page while adding your gallery display. This sort of setting will overwrite the rest of the settings globally or inside the gallery itself. Note: You need What’s the default sorting method? set to Custom on NextGEN Gallery > Other options > Image Options.
Insert your galley and choose the desired gallery display. For this example, we will use a Basic Thumbnail.
![image-67 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-67.png)
Then: Sort the gallery as you like, and click on the Insert Gallery.
![image-68 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-68.png)
![image-69 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-69.png)
Sorting Galleries Inside Your Albums
You can also sort your galleries inside your albums.
Go to Manage Albums then select the album that you want to edit.
Arrange the gallery order (drag and drop) and save that order by clicking on the Update button.
![image-74 | Imagely](https://www.imagely.com/wp-content/uploads/2024/07/image-74.png)