Freelance web design - Try It Out Embedding Text in Images You

Try It Out Embedding Text in Images You will be modifying your showimage.php and modifyimage.php files to show captions along with the images, but they will be minor changes. 1. Locate the following section in your showimage.php file, and add the highlighted lines:


Modifying Your Image

Please choose if you would like to modify your image with any of the following options. If you would like to preview the image before saving, you will need to hit your browser s back button to return to this page. Saving an image with any of the modifications listed below cannot be undone.

> black & white
embedded caption

2. The arial.ttf font is used in this exercise, but you should use a font that is installed on your server. If you attempt to run the following script with a font that is not installed on the server, you will get an error. Now that that s cleared up, add the following highlighted lines to your modifyimage.php file: From our experience, we can recommend PHP Web Hosting services, if you need affordable webhost to host and run your web application.

Leave a Reply