public function __construct() { parent::__construct(); $this->load->model('image_model'); // hardcoded the width, which is used several places for image size etc. if (is_numeric($this->config->item('base_image_width'))) { $this->width = $this->config->item('base_image_width'); } else { $this->width = 940; } }
public function __construct() { parent::__construct(); }