Customizing WebSphere Commerce Accelerator image files
If you customize image files that were originally shipped with the product, you should replace the files directly with your updates. However, be aware that migration will overwrite your changes. If you want to keep you changes, make backup copies of any changed files, and reapply the changes to your new files.
If create new JavaScript files:
- Open the WebSphere Commerce development environment (Start > Programs > IBM WebSphere Commerce development environment) and switch to the
J2EE Perspective Project Navigator view
Express Project Navigator view.
- Navigate to the CommerceAccelerator project.
- Navigate to the Web Content/images folder.
- Right-click on the images folder, and select New, and then Folder.
- In the Folder name field, enter custom.
- Repeat this process until you have created the following path: Web Conteimages/custom/component where component represents the tool component to which the image file corresponds.
- Right-click on the custom/component folder, and select New, and then Image file.
- In the File name field, enter a unique name. For the purposes of this scenario, enter imageName, where imageName represents some custom image name.
- Use the File type field, select the image type for the file that you want to create.
- Click Finish to create the file and open it in an editor.
- Update the file as necessary.
- Update any JSP files as appropriate such that they reference the new image file in the new custom folder.
Related concepts
Related tasks