Upload Drag & Drop : problème avec le multi files

image = imagecreatefromstring($source); switch($type){ case 'png': $image = imagecreatefrompng($source); break; case 'gif': $image = imagecreatefromgif($source); break; case 'jpg': $image = imagecreatefromjpeg($source); break; } if ($image) { // Get dimensions $w = imagesx($image

0
Création d'une galerie avec cakephp

image n'est au bon format","notif",array('type'=>'error')); } } $d =array(); $d'galeries'] = $this->Gallery->find('all',array( 'conditions' => array('type' => 'image') )); $d'formats'] = Configure::read('Media.formats'); $this->set($d); } function

7
Inheritance Mapping

image * * @param string $image * * @return Page */ public function setImage($image) { $this->image = $image; return $this; } /** * Get image * * @return string */ public function getImage() { return $this->image; } /** * Set createdAt * * @param \DateTime $createdAt

2
[SF4]symfony-collection plugin dans symfony 4

image"                 ]             ])             ->add('caption', TextType::class, [                 "attr" => [                     'placeholder' => "Titre de l'image"                 ]             ])         ;     }       public function configureOptions(OptionsResolver $resolver)     {         $resolver->setDefaults([             'data_class' => Image::class,         ]);     } } ``` je veux installer et utiliser ce plugin depuis

2
Problème avec le Tuto : Upload en Drag&Drop

image = imagecreatefromstring($source); if ($image) { // Get dimensions $w = imagesx($image); $h = imagesy($image); if (($width && $w > $width) || ($height && $h > $height)) { $ratio = $w / $h; if (($ratio >= 1 || $height == 0) && $width && !$crop

2
UpThemes Framework : Afficher en Front End

Images Settings Functions file * * Below is an example of creating a new tab for your Theme Options page: */ $colors_images_tab = array( "name" => "colors_and_images", "title" => __("Colors and Images

6
Problème avec l'exécution de mes conditions if et elseif

images_groupe1 ORDER BY id DESC "); $req->execute(); $req->setFetchMode(PDO::FETCH_ASSOC); $image_du_groupe=$req->fetch();//là j'ai sélectionné une image du groupe 1 dans une table

3
Upload de photo
SAMO,

image (extension,poid,dimension,rename etc... ) . Il vaut mieux recréer une image jpg via l'images placer dans le dossier temporaire : ``` $chemin_fichier_tmp = $_FILEs['image']['tmp_name']; // Chemin de l'image

3
Rajout d'une div dans un lien généré via HtmlHelper

images as $image): ?> Si quelqu'un avait une petite idée, ou a déjà

5