Browse Source

The images did not appear on the feed, fixed

pecesama 16 years ago
parent
commit
ce0f575da3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      rss.php

+ 2 - 1
rss.php View File

@@ -52,8 +52,9 @@ if(!defined('entry')) define('entry',true);
52 52
 					$desc = $register["description"];
53 53
 					break;
54 54
 				case "2":
55
+					$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
55 56
 					$tit = ($register["description"]=="") ? "Photo" : strip_tags($register["description"]);
56
-					$desc = "<img src=\"".$register["url"]."\"/>";
57
+					$desc = "<img src=\"".$photoPath."\"/>";
57 58
 					break;
58 59
 				case "3":
59 60
 					$tit = "\"".strip_tags($register["description"])."\"";