이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Gabfire Media Module

설명

Videos and pictures don’t have to be difficult. Gabfire themes include a media module that makes embedding media simple.

This plugin is maintained by the folks over at http://www.gabfirethemes.com

We strongly suggest you to use this plugin together with
https://wordpress.org/plugins/otf-regenerate-thumbnails/

Sample Code

<?php 
gabfire_media(array(
    'name' => 'figure', 
    'imgtag' => 1,
    'link' => 1,
    'enable_thumb' => 1,
    'enable_video' => 0, 
    'resize_type' => 'c', 
    'media_width' => 415, 
    'media_height' => 284, 
    'thumb_align' => 'alignnone',
    'enable_default' => 1,
    'default_name' => 'defaultimage.png'
)); 
?>

name -> Name of post thumbnail to be used thats going to be resized to display featured image

imgtag -> 1 or 0. Using this option you can add/remove ‘<img src’ tag to image.

link -> 1 or 0. If set 1, the image will have a link to post

enable_thumb -> 1 or 0. You may want to use this option function just to get featured post thumbnails

enable_video -> 1 or 0. You may want to use this option function just to get videos

resize_type -> c, w, or h. C will crop image to exact size. w resizes the width and calculates height in proportion. h resizes the height and calculates width in proportion.

thumb_align -> adds a class to media

enable_default -> 1 or 0. You can set a default image to display if post has no media

default_name -> name of image to display. The image path is yourtheme/images/thumbs directory.

How to Add a Video

  • If you are going to use Youtube/Vimeo/Dailymotion -> copy video URL from browser bar -> add it via custom field to your post using key name iframe
  • If you’d like to display a self hosted MP4, WEBM or OGV file, add them as below
  • Custom field key name video-mp4 and enter full file url into value field
  • Custom field key name video-webm and enter full file url into value field
  • Custom field key name video-ogv and enter full file url into value field
  • To add a caption (SRT or VTT format) to the video, use custom field name caption-url-1 and full file url into value field

설치

You can install the Gabfire Media module Pack from your WordPress Dashboard or manually via FTP.

From WordPress Dashboard

  • Navigate to ‘Plugins -> Add New’ from your WordPress dashboard.
  • Search for Gabfire Media Module and install it.
  • Activate the plugin from Plugins menu.

Manual Installation

  • Download gabfire-media-module.zip
  • Unzip
  • Upload the gabfire-media-module folder to your /wp-content/plugins directory (do not rename the folder)
  • Activate the plugin from Plugins menu.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Gabfire Media Module”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Gabfire Media Module”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.5

  • Update subtitle settings window font colors

0.4

  • Fix plugin to work fine with older Gabfire Themes

0.2

  • Add Alt Text support for images

0.2

  • Remove BFI Thumb
  • Add video fields a custom meta box
  • Add missing class to HTML5 video wrapper

0.1

  • Initial release