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

 
28 năm bán máy Mac không bằng 1 năm bán thiết bị iOS

28 năm bán máy Mac không bằng 1 năm bán thiết bị iOS

Sau 28 năm, Apple đã bán được 316 triệu thiết bị iOS trên toàn cầu, trong khi Mac chỉ bán được 122 triệu thiết bị. Đó là những con số mà Giám đốc điều hành (CEO),

Kích hoạt và sử dụng chế độ Emoji Keyboard trong iOS 5

Kích hoạt và sử dụng chế độ Emoji Keyboard trong iOS 5

Emoji thực ra là 1 bộ tổ hợp ảnh và biểu tượng thu nhỏ trong các đoạn tin nhắn, email, ghi chú... dưới dạng text trong các ứng dụng của iOS 5.

Thuê bao VinaPhone đã sử dụng được trên máy bay

Thuê bao VinaPhone đã sử dụng được trên máy bay

Ngày 12/7, VinaPhone đã chính thức cung cấp dịch vụ gọi điện thoại hoặc nhắn tin khi đang bay trên một số tuyến bay quốc tế. Hiện tại, dịch vụ này mới chỉ triển khai dành cho thuê bao trả sau.

Công ty diệt chuột T&C

 

Diet con trung