aboutsummaryrefslogtreecommitdiff
path: root/lib/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/image.php')
-rw-r--r--lib/image.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/image.php b/lib/image.php
new file mode 100644
index 000000000..3a23a1932
--- /dev/null
+++ b/lib/image.php
@@ -0,0 +1,23 @@
+<?php
+ /**
+ * Tidypics Image class
+ *
+ */
+
+
+ class TidypicsImage extends ElggFile
+ {
+ protected function initialise_attributes()
+ {
+ parent::initialise_attributes();
+
+ $this->attributes['subtype'] = "image";
+ }
+
+ public function __construct($guid = null)
+ {
+ parent::__construct($guid);
+ }
+ }
+
+?> \ No newline at end of file