Jump to content

picture resize and create thumbnail


web_master

Recommended Posts

hi,

 

ive upload the pictures on this way:

 

<?php

if ($HTTP_POST_FILES["pict_1"]["name"]) {

  $dest="../destination/".$doc_id."_picture_name.jpg";

  copy($HTTP_POST_FILES["pict_1"]["tmp_name"], $dest);

}

?>

 

this will resoult on server picture named example: 1_picture_name.jpg, 2_picture_name.jpg, etc...

 

I want to upload (generate) the thumbnail picture in same time (paralell) as a picture with a same ID but a smaller size. (like: 1_th_picture_name.jpg, 1_th_picture_name.jpg...)

 

thanks in advanced

Link to comment
https://forums.phpfreaks.com/topic/50609-picture-resize-and-create-thumbnail/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.