Re: Gredient in a shape
Hi,
You can do your desired effect in a few simple steps:
1. Create a new layer
2. Press U for the Shapes tool (Press Shift+U to breeze through the kind of shapes and reach your desired shape)
3. Create your shape on the second layer (make sure "Shape layers" is selected in the Shapes tool bar)
6. Once a vector mask is created, fill the layer with white (#FFFFFF)
7. Upon filling the layer, double click "Shape 1" (or whatever layer has the vector mask) to open the Layer Style dialog box
8. Select Stroke and choose your desired stroke size (default is 3 pixels) and color of stroke
9. After adding your stroke layer style, add an Inner Glow layer style by selecting "Inner Glow" in the dialog box.

10. Make sure the blend mode of the inner glow is set to Normal and the size of the inner glow is big (adjust the size to your shape/preference)
11. Just play around the settings of the layer style and you're set! If you want to make the shape go over an image and make that transparent, just make the "Shape 1" layer's blend mode Darken. That will make the outline and gradient of the shape float above the layer/image under it.
You can do this with ANY shape. Any shape meaning, you can create a shape with the pen tool then do the exact same thing. Or any predefined shaped that is pre-installed in Photoshop. And best of all is that you can scale the image and the gradient stays

Just make sure you scale layer styles.
Hope you can do what you need to do!

Gerard Cruz