• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. Storefronts and Shopping Carts > 56. Insert Dynamic Images

Insert Dynamic Images

Include product images with your dynamic storefront and use it to activate the PayPal payment process.

Once you’ve added dynamic storefront details [Hack #55] to your site, you can include a product image that can be used as a PayPal button, as shown in Figure 5-10. The idea is that customers typically look for the most obvious object to click when they’re interested in a product, and turning the product image into a PayPal button is an effective way to get more customers to complete purchases.

Displaying an image with your product information
Figure 5-10. Displaying an image with your product information

Inserting the Image

Start by adding another database table column, image_file, to the tblProducts table created in [Hack #54] and populating it with the location (filename) of the image file to be displayed. So, for your widget, you might enter widget.jpg.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint