HJI WP Membership Code Reference
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Slipstream API Docs

Namespaces

  • hji
    • AgentRoster
      • controllers
      • models
      • utils
    • common
      • factories
      • interfaces
      • models
      • utils
    • construction
      • admin
        • controllers
        • models
      • core
      • front
        • controllers
      • interfaces
      • models
        • listings
        • subdivisions
      • views
    • geofarms
      • common
      • controllers
      • models
      • widgets
    • homevalue
      • controllers
      • core
        • abstracts
      • models
    • lifestylefinder
    • listingstoblog
      • controllers
    • membership
      • abstracts
      • controllers
      • entities
      • extension
        • abstracts
        • interfaces
      • factories
      • includes
      • interfaces
      • models
        • data
        • webservice
          • abstracts
          • actions
          • interfaces
      • observers
      • services
    • recentsales
      • controllers
      • tinymce
      • widgets
    • ResponsiveIDX
      • abstracts
      • adapters
      • controllers
      • core
        • abstracts
      • entities
      • models
      • services
      • tinymce
      • utils
      • widgets
    • schools
      • controllers
      • tinymce
      • widgets
    • users
      • abstracts
      • admin
        • controllers
        • models
      • controllers
      • core
        • abstracts
      • entities
      • models
      • utils
  • None
  • REL
    • controllers
    • Models
    • Taxonomies
    • Utils
      • Convert
    • widgets

Classes

  • ImageResize
  • RewriteRules

Class ImageResize

Namespace: hji\geofarms\common
Located at common/ImageResize.php

Methods summary

public static
# go( $data )
public static array
# _resize( $url, $width = NULL, $height = NULL, $crop = true, $retina = false )

Resizes an image and returns an array containing the resized URL, width, height and file type. Uses native Wordpress functionality. This is a slightly modified version of https://github.com/MatthewRuddy/Wordpress-Timthumb-alternative

Resizes an image and returns an array containing the resized URL, width, height and file type. Uses native Wordpress functionality. This is a slightly modified version of https://github.com/MatthewRuddy/Wordpress-Timthumb-alternative

Returns

array
An array containing the resized image URL, width, height and file type.
HJI WP Membership Code Reference API documentation generated by ApiGen