Go Back   djbosak.com forums > Tutorial Forums > Template Tutorials : > Customizing Your Template With Adobe Photoshop :
Reply
 
Thread Tools Display Modes

Updating changes to your template in Photoshop...
Old 04-26-2006, 11:16 AM   #1
djbosak
Administrator
 
djbosak is offline
Join Date: Apr 2006
Posts: 112
Default Updating changes to your template in Photoshop...

After you have finished all of the appropriate changes to your web design template in Adobe Photoshop you should update those changes to your HTML documents.

First of all you must know some basics about slices in Adobe Photoshop. Each slice in the PSD file represents an image or a background in the HTML document. Slices in the PSD file are marked by blue rectangles. If you can not see these slices for any reason you should choose View/Show/Slices... from the top menu. To manage the slices you should use the slice tool from the tools panel (hotkey "K"). Actually there are two slice tools in this toolset: Slice Tool and Select Slice Tool . Use "Shift+K" hotkey to switch between these tools. All of the appropriate slices are already placed in the PSD file included in your web design template package. So you will only need the "Select Slice Tool".

Before updating images using the save for web function you should make sure that the slices you want to save do not overlap with other slices. For example, a large background image slice can contain a smaller slice for a button image. So before saving this slice you should move it on top. To do this you should select this slice using Select Slice Tool. Then go to the options panel at the top of the screen. If you can not see this panel for any reason you can show it by selecting Window/Options from the top menu. At the left of the panel you will see four slice order buttons: Bring to Front, Bring Forward, Send Backward and Send to Back. Click the Bring to Front button to bring this slice to front. If you need to update the small button image slice in the future you should use the Send to Back function for the large main background slice to see the smaller button slice.


Fig 8.8 Slice Order Buttons

As you know some of the text is represented as plain text in HTML, so before saving images containing such text you should hide it. To do it you should select the layer containing that text.

The easiest way to do that - is to control click it, just click on this image while pressing the "Ctrl" button. But if some transparent layers exist over this image layer you will have troubles with it. The top layer will be selected instead of your image layer.

To check the content of the current selected layer do the following. Go to the layers panel and choose Window/Layers. Find the highlighted layer in layer list - this is the current selected layer. At the left of the layer name you can see the "eye" icon. Click it to hide/unhide the layer and see which text disappears in whole picture. If this is text you want to hide - you are one the right track. If the selection is the wrong one you can use this alternative method to select the layer with the appropriate image.

Right click with your mouse on image. A list of layers will appear. Try to choose different layers from that list, note that text layers have the same name as the content. Use the procedure described above to make sure that you have selected the right layer.

If you have selected a needed type layer you can hide it by clicking the "eye" icon at the left of layer name in layers list.

Now it's time to update your images using the Save For Web function.

Go to File/Save For Web... from the top menu or use "Ctrl+Alt+Shift+S" hotkey. The save for web window will appear.

In this window you can change the optimization options for your images. Actually our designer has already set the optimization options for best quality/size balance. But if you want your site to load faster you can decrease image quality. Select the slice using the "select slice tool". At the right you will see a panel with image options. You can change the value of quality input box for JPEG image or colors for GIF and PNG images.
Now select the slice that you want to update by clicking on it with Select Slice Tool. If you want to update several slices at once you can select them by holding the "Shift" key.


Fig 8.9 Image Options

When you have selected all of the slices that you want to update, click the Save button at the right top corner of save for web window. The Save Optimized As window will appear.

Browse to the HTML folder of your web design template. Change the File Type option to Images Only and the Slices option to Selected Slices. Other options may play havoc with the original HTML structure.


Fig 8.10 Save Optimized Window

If everything goes right way you will see the pop-up window asking for image replacement confirmation. Confirm that request.


Fig 8.11 Replace Confirmation

If this window does not appear, make sure that you are saving the images to the right folder. Also check the slice name by double clicking on it. The name and image type must be same as the image in HTML.
Now it's time to check the modifications you have made. Go to the HTML folder of your web design template and launch the HTML file to see changes.
  Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The advantages of using a template... djbosak About Web Design Templates : 0 04-29-2006 11:00 PM
What is the best template for me and why... djbosak About Web Design Templates : 0 04-29-2006 10:47 PM
Fireworks Template Structure... djbosak What's Inside : 0 04-29-2006 05:36 PM
Installing a Zen Cart template... djbosak Managing Your Template Quick Guide : 0 04-29-2006 03:15 PM
Changing images in photoshop... djbosak Customizing Your Template With Adobe Photoshop : 0 04-26-2006 06:45 PM



All times are GMT -4. The time now is 08:46 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.