Gallery Server Blog

From the desk of Roger Martin, Founder & Lead Developer

26 Aug, 2015

Experiments with SQLite

By |August 26th, 2015|Dev Insight|0 Comments

Long time fans of Gallery Server may recall that versions earlier than 2.5 supported SQLite as a database option. At the time it was a great choice because it was a file-based database that was robust, fast, required no extra software on the server, and required no maintenance. The only real downsides were that we had to distribute both a 32-bit and 64-bit version, and it ran only in Full Trust environments (no worky on GoDaddy).

When Microsoft released SQL CE 4, we realized it would solve both of these issues, so in 2.5 we dropped SQLite support and moved to SQL CE. Overall it’s been a great move – it just “works” and people who use it almost never have to interact with the underlying database.

But it came with a price. It is slow. So slow that customers who use SQL Server often see a 20-fold increase in database performance.  If you’re running any moderately […]

25 Aug, 2015

Automatically upload camera pics & video to your gallery

By |August 25th, 2015|Tips & Tricks|0 Comments

Say you have people taking photos and videos you want to get into your gallery. Maybe they’re field workers snapping pics of a job site. Maybe they’re church members having fun at the summer picnic. Maybe it’s you taking vacation photos with your lovely family.

There’s a good chance you’re using a mobile phone. What’s the best way to get those photos and videos into your gallery? Well, you have options:

Use the browser in your phone to go to your gallery and manually upload the files using the ‘Add objects’ command in Gallery Server.
Email the media files to yourself and then upload them to the gallery from a desktop computer.
Plug your phone into your PC with a cable, copy the files over, and upload them to the gallery.

Frankly, I’m not a big fan of any of these methods. It feels clunky and like too much work. For my personal gallery, I have it all automated. I use […]

6 Jul, 2015

Use Gmail as your SMTP Server – even when using 2-factor authentication (2-step verification)

By |July 6th, 2015|Tips & Tricks|0 Comments

Gallery Server can send emails for various events such as errors, account signup verification, and admin notification of new accounts. To configure, you must give Gallery Server an SMTP server it can use for sending the e-mails. Many organizations have an internal SMTP server you can use and hosting companies often provide one as well. But if you are self-hosting or can’t use the available SMTP server for whatever reason, Gmail provides one you can use to send up to 2,000 messages a day. This post tells you how to set up Gmail as an SMTP server for your gallery, including how to set things up when your Google account is configured with 2-factor authentication.
Set up Gmail as your SMTP server
Of course first you need a Google account. Get one here.

Now open web.config for your gallery and find the section. The file will be in the root of your web application and […]

8 May, 2015

Get up and running with Active Directory integration

By |May 8th, 2015|Uncategorized|2 Comments

Out of the box Gallery Server uses a self-contained set of user accounts, exposing functionality for adding, editing, and removing them in a set of admin pages. This works great when you want to keep them separate or your gallery is primarily used by anonymous users. But in many cases you want to integrate with an existing set of users, whether they’re in a home-grown user table, a 3rd party membership system, or Active Directory.

All these scenarios are possible because Gallery Server uses the provider model for storing users and roles. Just drop in a DLL containing a membership-compatible class in the bin directory, update web.config to point to it, and you’re all set.

In this post we’ll focus on configuring a gallery to use Active Directory for membership. For other scenarios, check out the Membership Configuration section in the Administrator’s Guide. If you’re not familiar with the ASP.NET Membership Provider model, you may […]

4 Mar, 2015

Reduce your gallery’s drive space requirements up to 99%

By |March 4th, 2015|Tips & Tricks|0 Comments

When you add a media asset to your gallery, Gallery Server creates a thumbnail and web-optimized file that is used for most gallery activities. For example, clicking the thumbnail image in an album shows the web-optimized version, not the original. By default, web-optimized images are about 640 px on the longest side and – for JPG images – created with a compression quality setting of 70 (you can change this on the Media Objects – Images page).

A typical web-optimized image is about 30-70 KB regardless of the size of the original image. It is common for today’s digital cameras to produce files that are 8MB and even higher. That’s huge, so it’s highly beneficial to use the smaller file whenever possible. It downloads and renders quickly and uses far less bandwidth and server resources than the original would have.

The original still exists on the server and can be downloaded through the Download […]

26 Feb, 2015

Support forum is live

By |February 26th, 2015|Announcements|0 Comments

The title is a bit misleading because the forum has actually been live for a couple weeks, but I’m finally getting around to writing about it. This was phase two of our overhaul of

Phase 1 was going from a hand-built ASP.NET site to one based on WordPress. I was hesitant to get out of my comfort zone since WordPress is written in PHP, about which I knew little or nothing. But it would have been a massive effort to hand build a new site while trying to get all the bits and pieces right, like SEO, responsive design, accessibility, etc. Turns out it was a good move, as WordPress – and especially its vast ecosystem of plugins – gave me just about everything I wanted and then some. I bought a professional-looking theme and was able to put together a modern, responsive site that is already showing vast improvements in SEO. For example, […]

15 Jan, 2015

Shiny new forum on its way

By |January 15th, 2015|Announcements|2 Comments

A couple weeks ago we replaced the homemade, aging ASP.NET web application at with a stylish new modern one based on WordPress. To keep the transition simple, we didn’t mess with the forum. But now the time has come.

The new forum is based on Simple:Press, a popular, feature-rich forum that integrates into WordPress. All the existing content and user accounts will be migrated to the new one, so you will continue to be able to log in with your old forum account. However, new passwords must be generated because the two systems use different encryption algorithms. You will receive an email with your new password when the migration is complete.

While this transition is under way, the forum is in read-only mode. We are moving things as fast as we can and hope to be converted and passing all tests within a few days. If you have questions during this time, feel free to use the contact […]

1 Oct, 2014

Congrats to gallery contest winner Joe Hakooz!

By |October 1st, 2014|Uncategorized|0 Comments

Last month I invited you to submit your gallery for a new Gallery Showcase we’re building that highlights the diverse ways people use Gallery Server Pro for managing digital assets. Thanks for all your great entries!

The winner, chosen at random, is Joe Hakooz from Innovah, a custom web app company in North Carolina. His client is Lacour Fruits, an international fruit and vegetable distributor based in France. They needed a secure way to store a large number of photos and videos in high resolution formats, primarily for use in their marketing and print collateral. They considered building a custom app but when they found Gallery Server Pro they knew they found their solution.

Here’s what Joe had to say:

“Gallery Server was incredibly simple to install and converting to an SQL database was painless. The automatic installation is tough to beat, but my favorite thing is […]