I worked that I need to crop the live Habbo image before it is shown on the page..
Is there any way you can submit this into the code somewhere? It would cut off the bottom section:Code:php: <? if($_GET[habboname]) { // If the URL is search_habbo.php?habboname=habboname echo("<img src=\"http://www.habbohotel.co.uk/habbo-imaging/collagepr?name_2_txt=0&name_2_y=-117&name_2_x=-491&h_2_dir=3&h_2_name=0&h_2_frame=5&h_2_gesture=0&h_2_action=0&h_2_y=0&h_2_x=50&name_1_txt=$_GET[habboname]&name_1_y=-597&name_1_x=-471&stampY=-1048&stampX=-1019&h_1_dir=right&h_1_name=$_GET[habboname]&h_1_frame=0&h_1_y=0&h_1_x=0&overlay=&overlayY=-95&overlayX=-39&logoY=-300&logoX=-300&bkg=&bkgY=-95&bkgX=-39&bkgColor=ffffff&picH=300&picW=65&quality=5&img-format=png&xml-template=imageCreator_1_name\">"); }elseif(!$_POST[submit]) { echo(" <form method=\"POST\"> Your Habbo Name: <input type=\"text\" name=\"habboname\" value=\"$_GET[habboname]\"> <br><br> <input type=\"submit\" name=\"submit\" value=\"Search\"></form> "); }else{ $habbo = $_POST[habboname]; if($habbo == NULL) { echo("You did not enter a Habbo name"); }else{ echo(" <img src=\"http://www.habbohotel.co.uk/habbo-imaging/collagepr?name_2_txt=0&name_2_y=-117&name_2_x=-491&h_2_dir=3&h_2_name=0&h_2_frame=5&h_2_gesture=0&h_2_action=0&h_2_y=0&h_2_x=50&name_1_txt=$habbo&name_1_y=-597&name_1_x=-471&stampY=-1048&stampX=-1019&h_1_dir=right&h_1_name=$habbo&h_1_frame=0&h_1_y=0&h_1_x=0&overlay=&overlayY=-95&overlayX=-39&logoY=-300&logoX=-300&bkg=&bkgY=-95&bkgX=-39&bkgColor=ffffff&picH=300&picW=65&quality=5&img-format=png&xml-template=imageCreator_1_name\"> "); } } ?>
could I use css to style a div and save server resources?
Code:bomb-head (forum moderator) - Moved to coding, please post in the correct forum.Code:.cropped { width:200px; height:200px; background: url(http://example.com/foo.jpg) no-repeat;}







Reply With Quote
+REP




