Tag Archives: Half Size

Slimbox Image Resize

Hello there http: //www. alldeathnote. com/deathnotewallpaperslb. php This really is my wallpaper gallery plus im using slimbox, now many of the wallpapers are 1600×1200 while clicked, they increase onto the display screen. I would like to scale decrease the image, but cant get the correct css or javascript to perform so #lbImage situation: absolute; remaining: 0; prime: 0; line: 10px solid #fff; background-repeat: no-repeat; Here is the css property designed for the image jar, it looks for instance theyre setting that image up to be a background, and thus i cant transform its height d width http: //www. digitalia. be/software/slimbox2 Here is the link to slimbox the place that the javascript source is often gotten from. When you guys could guide id greatly thanks, this codes merely a lil to complex for me. Plainly could just obtain the correct place while in the javascript to perhaps add like /2 to help image height along with width, i feel itd be great How concerning using PHP GD to help resize it Your link travels to another PHP script in which displays the single wallpaper any size you choose. It could likewise display it in a very pop-up if you love those. … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Protecting Images You Own

post set the position with the top left next corner. the id=" image" div may be for the image the particular id=" coverpannel" may be for the link. and where dreamweaver i can’t help, only value. Rob… Try this: Create this PHP script, call it " photograph. php": PHP: < php//  path  to  your  images  (where  they  are  stored). //  include  the  trailing  forward  slash  /$path=”/photos/”; $filename=$path. $_GET’p’; //  Get  the  dimensionslist($width_orig,   $height_orig)  =  getimagesize($filename); //  Resize  if  needed  (in  this  example,   full  size …   no  reduction). $width=$width_orig; $height=$height_orig; //  Example  of  half-size  decrease. //$width=$width_orig/2; //$height=$height_orig/2; //  Resample$image_p  =  imagecreatetruecolor($width,   $height); $image  =  imagecreatefromjpeg($filename); imagecopyresampled($image_p,   $image,   0,   0,   0,   0,   $width,   $height,   $width_orig,   $height_orig); //  Outputheader(‘Content-type:   image/jpeg’); imagejpeg($image_p,   null,   100); //  Clean-up  Memoryimagedestroy($image_p); > Now take advantage of this on your HTML pages for every image… < img src=" photograph. phpp=mypic. jpg" > The supply of the image shall be unknown, but your image will look. (this may be for JPG or JPEG images only). . that is a lovely idea mlseim I’ll try this tomorrow and show you. I know what you necessarily mean, … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , | Leave a comment