We covered the setup and troubleshooting of your workspace previously in the article Setting Up a Workspace, and briefly touched on one use for TTG CE3 Viewport Sizer. Here I will explain how to use TTG CE3 Viewport Sizer to setup an optimal workspace, one that allows you to easily preview how your site might look on all of a desktop browser, an iPad and an iPhone.
The example screen captures in this article were taken on a 13-inch Macbook Air with its display measuring a total 1440-pixels-wide.
For my standard workspace, I've pulled my lefthand controls to 350-pixels wide as described in Setting Up a Workspace.
By collapsing the lefthand control pane – by clicking on the arrow on the far right side of the display – I can get a look at how my gallery will appear on a wide screen.
Now let's create a preview for the iPad. I want my righthand control panel to be showing again, so make sure that's visible. Then press the 'F' key repeatedly until you've gone into Lightroom's windowed screen mode. You can now click and drag the edges of the application to decrease the size of the window.
We know that the iPad display is 768-pixels wide in portrait orientation, and we want to add another 16-pixels to account for Lightroom's ugly scrollbar. So we're going to resize the application window until the Viewport Sizer reports a width of 784-pixels.
Take note, this is not a perfect representation of what you will see on an iPad, because the APE browser does not support the CSS3 background-size property. Therefore, your identity plate and/or thumbnails may not accurately represent what you will see on an iPad. It's pretty close, though, and definitely close enough to let you work toward achieving your vision on all devices. With any luck, future versions of Lightroom will offer better CSS3 support and allow us a more fully accurate preview of our galleries.
We're going to go narrower now, so we want to make sure that the Header Bar is turned off. Press the backslash key on your keyboard, '\'. This will toggle the Header Bar on/off. If you press the key repeatedly, you will see the Header Bar coming and going, so it's easy to identify what I'm talking about. Turn it off.
For the iPhone preview, we reveal the lefthand control panel. We know that the iPhone in portrait orientation has a display width of 320-pixels. Again we add 16-pixels for the APE scrollbar, so we want a preview width of 336-pixels.
The righthand control panel also has a maximum width of 360-pixels, which may not allow us to achieve the desired 336-pixel preview width. But there's a trick to solve this: hold the OPT/ALT key on the keyboard while resizing the control panel and you can exceed the 360-pixel limit!
In the screen capture above, you can see the identity plate is cutoff. Again, this is due to the APE browser's lack of support for the background-size CSS3 property. On a real iPhone, the identity plate will scale to fit, so don't worry – this is not an issue.
And now our workspace is setup so that we can easily switch between all of these views:
And now you are a Lightroom workspace ninja!