O'Reilly logo

Selling Online with Drupal e-Commerce: Walk through the creation of an online store with Drupal’s e-Commerce module by Michael Peacock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding Images to Products

Doug is not happy with the products on his website as they don’t have any pictures next to them, so he wants to upload some for his customers to know what they are buying.

There are quite a number of different methods for adding images and other related files to products and content types. First, let’s have a look at the methods available:

  • A built-in upload module

    • Listed as an attachment

    • Embedded into the description

  • A third-party image module

    • Embedded into the description

    • As a product

Both these modules have their own merits and uses; the upload module can be used to upload files that are attached to a content element such as a product or a page. Attachments can be directly linked to or listed with the content.

CCK Module ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required