Skip to content

Commit

Permalink
include wp-common-image-size - closes #50
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramoonus committed May 15, 2016
1 parent e39cb6e commit b7aec4b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
19 changes: 19 additions & 0 deletions inc/common-image-size.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
/*
Plugin Name: Common Image Size
Description: Adds extra image sizes of default resolutions to WordPress
Author: Ramoonus
Author URI: http://www.ramoonus.nl/
Version: 1.0
*/

/**
* Add standard image sizes
* add_image_size( $name, $width, $height, $crop ); *
* * @todo xga // xga+ // wxga // wxga2 // wxga3 // sxga // sxga2
* @todo sxga+ // wxga+ // hd+ // uxga // wsxga // fhd add_image_size( 'fhd', '1920', '1024', true ); // WUXGA // QWXGA // WQHD // WQXGA // 4k
*/
add_image_size('vga', 640, 480, true);
add_image_size('svga', 800, 600, true);
add_image_size('wsvga', 1024, 600, true);
add_image_size('hd', 1360, 768, true);
9 changes: 8 additions & 1 deletion powerpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,11 @@ function rw_pp_regionjs() {
/** Integratie jQuery Updater
* @since 1.0.0
*/
include("inc/jqu.php");
include("inc/jqu.php");


/** Integratie jQuery Updater
* @since 1.0.0
* @version 1.0.0
*/
include("inc/common-image-size.php.php");

0 comments on commit b7aec4b

Please # to comment.