Cách chèn Captions vào Drupal Images with jCaption

Cách chèn Captions vào Drupal Images with jCaption

jCaption is a simple but very useful little module.

jCaption allows you to add captions to your Drupal images, no matter what editor you're using.Cách chèn Captions vào Drupal Images with jCaption

Using a small jQuery script you'll be able to add the captions and then use CSS classes to improve the design of those captions.

How to use jCaption

  • Install and enable the jCaption module: https://drupal.org/project/jcaption
  • Inside your content, make sure your image has either an ALT or a TITLE tag. This will be the caption for the image.

media_1379605761502.png

  • The image below shows how the caption will appear on your image, using the default Bartik theme. It's really as simple as that:

media_1379605889019.png

Go to Configuration > jCaption and you'll be able to tweak the jCaption options:

media_1379606171482.png

At the bottom of the configuration screen, you can add CSS classes to the captions:

media_1379606544791.png

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Khanh Hoang

Khanh Hoang - Kenn

Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Hướng dẫn sử dụng Organic Groups module trong Drupal 7

Hướng dẫn sử dụng Organic Groups module trong Drupal 7

Organic Groups (OG) is the social networking solution for Drupal.

Cài đặt lại GRUB vào Master Boot Record

Cài đặt lại GRUB vào Master Boot Record

Đã có các hệ điều hành Windows XP/Vista và muốn cài đặt thêm Ubuntu; Cài Ubuntu trước hoặc giữa các hệ điều hành

Giới thiệu RESTful Web Services trong Drupal 8

Giới thiệu RESTful Web Services trong Drupal 8

REST is one of the most popular ways of making Web Services work. There are other formats such as SOAP or XML-RPC, but we are only going to focus on REST because it is the Drupal standard. REST utilizes HTTP methods, such as GET, POST, and DELETE.

Wordpress Freelancer

 

Wordpress Freelancer