aboutsummaryrefslogtreecommitdiff
path: root/lib/tidypics.php
blob: 1254f3ff617b461e58e84ce1bb4d74897160486a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
	/**
	 * Elgg tidypics library of common functions
	 * 
	 */

	/**
	 * Get image directory path
	 *
	 * Each album gets a subdirectory based on its container id
	 *
	 * @return string	path to image directory
	 */
	function tp_get_img_dir()
	{
		$file = new ElggFile();
		return $file->getFilenameOnFilestore() . 'image/';
	}
	
?>