diff --git a/core/image.class.php b/core/image.class.php index ed77c92b..e6438ab3 100644 --- a/core/image.class.php +++ b/core/image.class.php @@ -5,6 +5,7 @@ class Image { var $height, $width; var $hash, $filesize; var $filename, $ext; + var $posted; public function Image($a=false, $b=false, $c=false) { if($b == false && $c == false) { @@ -24,6 +25,7 @@ class Image { $this->ext = $row['ext']; $this->width = $row['width']; $this->height = $row['height']; + $this->posted = $row['posted']; } private function mime_to_ext($mime) { diff --git a/ext/rss_images.ext.php b/ext/rss_images.ext.php index 484dd3ce..a652a195 100644 --- a/ext/rss_images.ext.php +++ b/ext/rss_images.ext.php @@ -32,6 +32,7 @@ class RSS_Images extends Extension { $link = make_link("post/view/{$image->id}"); $tags = $image->get_tag_list(); $owner = $image->get_owner(); + $posted = $image->posted; // FIXME: MySQL date != RSS date $content = html_escape( "

" . build_thumb_html($image) . "

" . "

Uploaded by " . $owner->name . "

" @@ -42,6 +43,7 @@ class RSS_Images extends Extension { {$image->id} - $tags $link $link + $posted $content ";