public function getRealPath() { $options = $this->getBootstrapOptions(); $levels = $options['image']['folderlevels']; $divisionByLevel = explode(',', $options['image']['folderdivisions']); $path = APPLICATION_DATA_PATH; $path = Agana_Util_FileHandle::fixPathSeparator($path) . $options['image']['subfolder']; $path = Agana_Util_FileHandle::fixPathSeparator($path) . Agana_Util_FileHandle::genFolderNameStructure($this->_image->getFile(), $levels, $divisionByLevel); return Agana_Util_FileHandle::fixPathSeparator($path); }