Permalink
Browse files

updated file for profile

  • Loading branch information...
1 parent ef915e0 commit 838b6bbc4cc92822b421038bc67969ae6e33dea1 aneesh committed Apr 3, 2012
Showing with 20 additions and 3 deletions.
  1. +2 −2 class/FieldTypeImageThumb.class.php
  2. +18 −1 registry/contact_my_info.reg.xml
@@ -22,8 +22,8 @@ function default_Disp($field_value="") {
if ($this->getRData('showpicture')=="1" && !empty($field_value)) {
$fval="<img border=\"0\" src=\"".$file_path.$field_value."\">";
} else {
- $fval = $file_path.$field_value;
- $fval = "<a href=\"".$fval."\">".$fval."</a>" ;
+ //$fval = $file_path.$field_value;
+ //$fval = "<a href=\"".$fval."\">".$fval."</a>" ;
}
$this->processed .= $fval;
}
@@ -72,15 +72,32 @@
<rdata type="id"></rdata>
<rdata type="fieldtype">strFBFieldTypeInt</rdata>
</rfield>
- <rfield name="picture">
+ <!--<rfield name="picture">
<rdata type="label">User Picture</rdata>
<rdata type="max_width">200</rdata>
<rdata type="max_height">200</rdata>
<rdata type="showpicture">0</rdata>
<rdata type="picture">dbimage/</rdata>
<rdata type="overwrite">no</rdata>
<rdata type="fieldtype">PageBuilderFieldImage</rdata>
+ </rfield>-->
+
+
+
+ <rfield name="picture">
+ <rdata type="label">User Picture</rdata>
+ <rdata type="max_width">200</rdata>
+ <rdata type="max_height">200</rdata>
+ <rdata type="thumb_max_width">48</rdata>
+ <rdata type="thumb_max_height">48</rdata>
+ <rdata type="showpicture">0</rdata>
+ <rdata type="picture">dbimage/</rdata>
+ <rdata type="overwrite">no</rdata>
+ <rdata type="thumb_folder">dbimage/thumbnail/</rdata>
+ <rdata type="fieldtype">FieldTypeImageThumb</rdata>
</rfield>
+
+
<!--<rfield name="summary">
<rdata type="databasetype"></rdata>
<rdata type="label">Summary information</rdata>

0 comments on commit 838b6bb

Please sign in to comment.