Skip to content

Commit

Permalink
Getter added to public getBaseUrl() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Carraro committed Nov 6, 2014
1 parent 909521f commit cf1622f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name" : "wcm/dynamic-image-resize",
"version" : "1.6.2",
"version" : "1.6.3",
"main" : "dynamic_img_resize.php",
"ignore" : [
".git",
Expand Down
2 changes: 1 addition & 1 deletion component.json
@@ -1,6 +1,6 @@
{
"name" : "wcm/dynamic-image-resize",
"version" : "1.6.2",
"version" : "1.6.3",
"description" : "Enables WordPress custom image sizes on the fly. Can be used with a shortcode or a template tag.",
"homepage" : "http://franz-josef-kaiser.github.io/Dynamic-Image-Resize/",
"author" : "Franz Josef Kaiser",
Expand Down
4 changes: 4 additions & 0 deletions composer.json
Expand Up @@ -12,6 +12,10 @@
{
"name" : "Franz Josef Kaiser",
"email" : "franzjosef@unserkaiser.com"
},
{
"name" : "Andrea Carraro",
"email" : "hi@andreacarraro.it"
}
],
"support" : {
Expand Down
3 changes: 2 additions & 1 deletion dynamic_img_resize.php
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Dynamic Image resize
* Plugin URI: http://unserkaiser.com/plugins/dynamic-image-resize/
* Description: Dynamically resizes images. Enables the <code>[dynamic_image]</code> shortcode, pseudo-TimThumb but creates resized and cropped image files from existing media library entries. Usage: <code>[dynamic_image src="http://example.org/wp-content/uploads/2012/03/image.png" width="100" height="100"]</code>. Also offers a template tag.
* Version: 1.6.2
* Version: 1.6.3
* Author: Franz Josef Kaiser <http://unserkaiser.com/contact/>
* Author URI: http://unserkaiser.com
* License: MIT
Expand Down Expand Up @@ -389,6 +389,7 @@ public function setBaseUrl()
*/
public function getBaseUrl()
{
if ( !$this->baseUrl ) $this->setBaseUrl();
return $this->baseUrl;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name" : "wcm/dynamic-image-resize",
"description" : "Enables WordPress custom image sizes on the fly. Can be used with a shortcode or a template tag.",
"version" : "1.6.2",
"version" : "1.6.3",
"homepage" : "http://franz-josef-kaiser.github.io/Dynamic-Image-Resize/",
"main" : "dynamic_img_resize.php",
"readmeFilename" : "README.md",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
@@ -1,6 +1,6 @@
# Dynamic Image resizing in WordPress

version: _v1.6.2_
version: _v1.6.3_

"Dynamic Image Resize" is a WordPress (MU-)plugin that offers a shortcode and a template tag to resize images "on the flight" without the need of TimThumb, but with WP core functions.

Expand Down

0 comments on commit cf1622f

Please sign in to comment.