Skip to content

Tips, Tricks & How-Tos

  • Show keywords for an image

    When you include keywords within the metadata of an image (using Lightroom, Adobe Bridge, or your favorite image manager software), they are saved and searchable by default in Sunshine Photo Cart. In the below code example, you can also show all the keywords on the single image view. You can also show all the EXIF […]

  • Showing all EXIF/meta data for an image

    When images are uploaded to WordPress/Sunshine Photo Cart for your client photo galleries, most of the EXIF data is saved to the database. By default, Sunshine does not use this for anything except for searching but it is also available to use for display with custom code. Below is an example of showing all available […]

  • Show related images in single image view

    This code snippet will show random other images from the same gallery when viewing a single image. Please note this will not work with Lightbox. View the code on Gist.

  • Keeping images out of Google search results

    Please know: The moment you put any image online, it can be available to the entire internet. The only true way to protect an image is to never put it online in the first place. A few Sunshine users have found that client images end up in Google's search results. After digging, we found that […]

  • Customize text in Sunshine

    As of writing this, there are over 3,000 strings of text throughout Sunshine and all the add-ons. Having a built-in tool for customizing every string isn't feasible. However, the great thing about WordPress is its vast plugins like Say What? which is a perfect solution to handle customizing strings in Sunshine, or any other plugin/theme, […]

  • Don't let clients see other galleries

    Some photographers want to setup Sunshine so their clients can only see their own gallery and not any others. There are a couple ways to do this. Gallery Type: Private You can set each gallery to Private which means only the users assigned to the gallery can view it and it will be hidden from […]

  • Selling Videos

    Sunshine is not really geared towards selling videos but there is a workaround with a small known feature of the Digital Downloads add-on.

  • Enabling Logging

    When problems arise with your online photo galleries using Sunshine Photo Cart, it is sometimes necessary to see if there are code errors causing the problem. With the infinite combinations of themes, plugins, and server conditions, there may be a unique situation that is causing the issue and deeper investigation is required. Here are the […]

  • Manage Sunshine Main Menu Links

    Using WordPress filters, we can modify which links appear in Sunshine's Main Menu. Adding New Links Removing Login/Register links Alternatively add this to Sunshine > Settings > Design > Custom CSS:

  • Show captions under thumbnails and single images

    Sunshine Photo Cart takes advantage of WordPress' ability to import EXIF metadata when an image is uploaded to your client gallery. Data like keywords, caption, camera, and much more data you can see here gets imported into the database. Once in the database, you can then display this information with any image in a Sunshine […]