Photoshop Tips: Using Custom Shapes to Add Studio Logos
Here is a series of movies that I did that show how to take your logo and create a custom shape from that logo.
Then how to use the custom shape with layer styles to apply the logo to your images.
Then automating that with an action.
And finally, how to create a script to run the action to place the custom shape and layer style on your images (both horizontal and vertical) and prepare them to upload as web sized images.