+ def supply_default
+ end
+
+ def overwrite rp
+ attr = {:width => rp.width, :height => rp.height, :ext => rp.ext, :filesize => rp.filesize,
+ :original_picture_id => rp.original_picture_id, :license_id => rp.license_id,
+ :system_picture_id => rp.system_picture_id, :artist_id => rp.artist_id,
+ :md5 => rp.md5,
+ :license_group_module_name => rp.license_group_module_name,
+ :license_group_settings => rp.license_group_settings,
+ :credit_picture_settings => rp.credit_picture_settings,
+ :license_settings => rp.license_settings
+ }
+ self.attributes = attr
+ self.revision = self.new_revision #Do not move to attr. new_revision reffernces self.original_picture_id
+ end
+
+ def visible? operators
+ return true
+ end
+
+ def showable? operators = nil
+ return false unless self.original_picture
+ return true if self.own?(operators)
+ self.enable? and self.head?