See this post http://www.oursrc.com/viewtopic.php?f=28&t=78#p504 i uploaded the software screenshot in imageshack and posted the thumbnail here... Clicking the thumbnail should open the full image but it is not happening .... I think the image highlight feature has caused this trouble... Any way to overcome it...?
wait i see what you mean. see the problem is that image shack uses a .th.gif on the end of all there graphics. I must install a fix to remove the .th in the image name. thanks for bringing that to my attention.
Well here was the original code I had to handle imageshack files: Code: // Function to convert strings with .th .jpg inside to .jpg function highstan($var1) { if (strpos($var1,".th .jpg") === false) { //do nothing } else { $var1 = str_replace(".th .jpg",".jpg",$var1); } return $var1; } Then as adithya pointed out, imageshack has .jpg,.gif and .png so here is the modified code: Code: // Function to convert strings all imagshack extensions function highstan($var1) { if (!(strpos($var1,".th.jpg") === false)) { $var1 = str_replace(".th.jpg",".jpg",$var1); } if (!(strpos($var1,".th.gif") === false)) { $var1 = str_replace(".th.gif",".gif",$var1); } if (!(strpos($var1,".th.png") === false)) { $var1 = str_replace(".th.png",".png",$var1); } return $var1; } Not to difficult.
which knew that i what the difference was in the coding as we have no programming or js coding knowledge...