官术网_书友最值得收藏!

  • Drupal 7 Media
  • Liran Tal
  • 270字
  • 2021-08-13 16:37:44

Chapter 3. Working with Images

It's time to begin with our very first and long-time media resource on the Internet—images. Images are not only a requirement that a site builder needs to meet according to some spec, but rather they should be thought of from the ground up when designing a website.

On the web, a picture really is worth a thousand words (if not more) as they contribute to a website's lively look and feel. Can you think of Facebook without images? Instagram is a billion dollar venture based solely on taking images and sharing them with your peers. Pinterest is another good example of taking a concept such as bookmarks, adding some eye-candy images to it, and there's another startup for you.

In this chapter we will cover:

  • Adding image fields to custom content types
  • Understanding the Media module for site-wide media resources management
  • Installing and understanding the use of WYSIWYG and text formats
  • Embedding images in content via WYSIWYG
  • Creating image galleries, configuring them, and using them as blocks

Our theme content type for working with images in this chapter will be food recipes. Who knows? Maybe you can wrap your next venture based on this idea.

Because we have already learned in the previous chapter how to create new node's content types, how to add fields to them, and style the fields, we will not dwell into this again. Instead, I will show the new content type, called rezepi, which is a combination of the English word recipe and it's Polish translation przepis. Like it? That alone is probably worth a startup.

主站蜘蛛池模板: 峨眉山市| 广德县| 芜湖县| 伊川县| 哈巴河县| 从江县| 桂平市| 汉川市| 马公市| 崇明县| 镇坪县| 北海市| 木里| 丰顺县| 全南县| 宁陕县| 会理县| 乐昌市| 日照市| 乐昌市| 林州市| 霍林郭勒市| 宜宾县| 南阳市| 巢湖市| 怀仁县| 永济市| 宁强县| 丽水市| 台南县| 嘉义市| 花莲市| 延庆县| 高阳县| 东城区| 白朗县| 中江县| 宁陕县| 中山市| 宣城市| 新营市|