国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal模块] Drupal 7.X/6.X模块介绍:Gallery formatter---将node里所有图片轮播

[复制链接]
发表于 6-9-2012 02:22 | 显示全部楼层 |阅读模式
Gallery formatter模块能将一个node里的所有图片以图片轮播形式播放,比如创建一个node,然后添加了一个image cck field,通过这个模块,就可以做成图片轮播形式了

-------------------------------------------------------------------------

Gallery formatter

Galleryformatter

Gallery formatter provides a CCK formatter for image fields, which will turn any image field into a jQuery Gallery.

格式化画廊模块提供了一个图像领域的CCK的格式化,这将变成一个jQuery库中的任何图像领域。


(Drupal 6) Watch the screencast for a demo of how to set it up, or visit the demo page for seeing it in action.

Features:

  • Two imagecache presets which will work out of the box beautifully.
  • The thumbnails run under an infinite carousel.
  • 缩略图下运行一个无限的选择木木?/传送带?你懂得...
  • Degrades gracefully without JS enabled, the gallery still works.
  • 降低正常没有的JS启用,画廊仍然有效。
  • Integrated out of the box with thickboxcolorbox(recommended as the thickbox upgrade path),shadowbox and lightbox2 for the view full links.
  • Works with the swfuploadimage_fupload, andimagefield_crop widgets.
  • A hook for modules to provide styles for the galleries.
  • 一个钩子模块为画廊提供的样式。

  • Two options for styles, no style and a green arrows style. No style should be used for developing your own styles.
  • 两个选项的风格,没有风格和样式的绿色箭头。没有风格应当用于发展自己的风格。

  • Source svgs for the green arrows style, so you can use it as an example to expand on, using inkscapefor example.
  • 源svgs的绿色箭头样式,所以你可以使用它作为一个例子,扩大,使用inkscapefor例子。

  • Fully themeable through tpl file, overriding the template_preprocess, or just CSS. You should know what you are doing if you do so.
    tpl文件,完全主题化,通过覆盖template_preprocess ( _) d2 ]9 u) Z+ w0 a1 M,或只是CSS的。你应该知道你在做什么,如果你这样做。

To use it:

  1. Edit the field settings for your image field, select which slide imagecache preset and thumbnail imagecache preset you would like to use.
  2. Select the jQuery Gallery formatter in the display section for your imagefield.

Note that this only makes sense on multiple value fields obviously.

On Drupal 7:

Drupal 7 allows for formatters to have their own settings, and this module makes full use of that. No longer do you configure the settings in the widget, and you can also set different settings per display mode, etc.
To use it simply select jQuery Gallery for your image field, and choose your settings there.

@TODO:

  • Documentation: please help contributing.
  • Provide more styles
  • Testing on other browsers, currently tested on Firefox, Chrome, Safari on XP, and IE8

Developers and designers/themers are welcome to review code, provide patches and new styles, help testing, or help out documenting.

Downloads



E文很乱,失败指数飙升,不翻译了,呵呵



|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 2-19-2025 14:03 , Processed in 0.423856 second(s), 285 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表