Shared hosting is cheap and allows you to install any gallery platform you wish if a hosting plan meets its requirements. But be careful and study your hosting provider’s Acceptable Use Policy thoroughly. The truth is, that even if they claim unlimited storage with their plans, they don’t want you to use much of it. On the contrary, they secretly hope that you will use less and they can host many other clients on the same server. For that reason, hosting providers usually put limitations on their policies (e.g. “no more than 10 GB for images,” etc.). So don’t be convinced that you have unlimited storage without first checking your shared hosting provider's policies or you will find your account suspended someday.
As you can see, a VPS can be the perfect middle ground for many – enough flexibility and resources for those who need more access or control than on a shared server but without the cost of a dedicated server. If you need root access, you can’t get that on a shared server, but you can get it on a VPS. If your site experiences unpredictable swings memory usage, and your host provides it, then the presence of burstable memory will be attractive. And, if you’re a fan of customization, then the fact that you can customize server-level software such as PHP, MySQL, and Apache will perk your interest. In short, choosing a VPS will allow you to have many of the same characteristics of a dedicated server but in a more affordable and manageable package.