Title: Gabfire Media Module
Author: Gabfire
Published: <strong>5. januar, 2015</strong>
Last modified: 26. oktober, 2015

---

Søg plugins

![](https://ps.w.org/gabfire-media-module/assets/banner-772x250.jpg?rev=1063254)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/gabfire-media-module_d1dfeb.svg)

# Gabfire Media Module

 Af [Gabfire](https://profiles.wordpress.org/gabfire/)

[Download](https://downloads.wordpress.org/plugin/gabfire-media-module.zip)

 * [Detaljer](https://da.wordpress.org/plugins/gabfire-media-module/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/gabfire-media-module/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/gabfire-media-module/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/gabfire-media-module/#developers)

 [Support](https://wordpress.org/support/plugin/gabfire-media-module/)

## Beskrivelse

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

## Installation

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.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Gabfire Media Module” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

 *   [ Gabfire ](https://profiles.wordpress.org/gabfire/)

[Oversæt “Gabfire Media Module” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/gabfire-media-module)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/gabfire-media-module/),
tjek [SVN repository](https://plugins.svn.wordpress.org/gabfire-media-module/), 
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/gabfire-media-module/)
via [RSS](https://plugins.trac.wordpress.org/log/gabfire-media-module/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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

## Meta

 *  Version **0.4**
 *  Senest opdateret **11 år siden**
 *  Aktive installationer **100+**
 *  WordPress-version ** 3.8 eller højere **
 *  Testet op til **4.3.34**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/gabfire-media-module/)
 * Tags
 * [featured image](https://da.wordpress.org/plugins/tags/featured-image/)[HTML5 video](https://da.wordpress.org/plugins/tags/html5-video/)
   [oembed](https://da.wordpress.org/plugins/tags/oembed/)[video](https://da.wordpress.org/plugins/tags/video/)
   [videojs](https://da.wordpress.org/plugins/tags/videojs/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/gabfire-media-module/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/gabfire-media-module/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/gabfire-media-module/reviews/)

## Bidragsydere

 *   [ Gabfire ](https://profiles.wordpress.org/gabfire/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/gabfire-media-module/)