Tag Archives: Protecting Images

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