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

  • 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.

主站蜘蛛池模板: 阿合奇县| 沐川县| 财经| 鄢陵县| 益阳市| 华阴市| 香河县| 三河市| 四平市| 博爱县| 浦东新区| 双辽市| 高邮市| 滨海县| 南华县| 眉山市| 康平县| 临汾市| 宁夏| 通辽市| 曲阜市| 景东| 祁阳县| 富民县| 莲花县| 临沭县| 关岭| 同心县| 津南区| 阳江市| 华阴市| 双江| 丰镇市| 广灵县| 会同县| 古蔺县| 文水县| 黑龙江省| 巩义市| 噶尔县| 南溪县|