WebsiteBaker 2.13.9 R22 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
was wondering what mod you used for rietdijk auto / Voorraadlijst?Is it a WB module???
//guardar el file en la base de datos
//Resizer// Check if the original image is greater than the max_sizeif (is_file($nuevo_sitio)) { $image_info = getimagesize($nuevo_sitio);} $max_width = 640;//If the image is wider than the max size resize itif ($image_info[0] > $max_width && $max_width > 0) { echo ( 'Resizing'); // Instantiate the GD class. $new_image = new GD; // Set parent image path and thumbnail path. $new_image->setFile($nuevo_sitio); $new_image->setNewFile($nuevo_sitio); // Resize image. $new_image->getImageInfo(); $new_image->calcSize_thumb($max_width); $new_image->createImage(); }// End Resizer
Many thanks!, It realy takes time to uplode the images, but it's a good addition to the module