User's Manual
Beta Draft Loading Images 7-1
7
Loading Images
This chapter shows you how to change the application to upload a thumbnail picture
for new employees and display it on the Employees page. It has the following topics:
Q Using Oracle LOBs to Store and Load Employee Images
Q Resizing Images
Using Oracle LOBs to Store and Load Employee Images
1. Create the chap7 directory and copy the application files from chap6:
mkdir $HOME/public_html/chap7
cp $HOME/public_html/chap6/* $HOME/public_html/chap7
cd $HOME/public_html/chap7
2. In a browser, enter the URL to access the Oracle Database XE HTMLDB Web page:
http://localhost:8080/htmldb
3. In the Oracle Database XE Login page, enter hr in the Username and Password
fields. Click Login:
4. In the Home page, to create a new table for storing employee images, click the
arrow on the SQL icon, highlight SQL Commands, and click Enter Command: