“getImagesize php” Respostas de código

getImagesize php


<?php
list($width, $height, $type, $attr) = getimagesize("img/flag.jpg");
echo "<img src=\"img/flag.jpg\" $attr alt=\"getimagesize() example\" />";
?>

Uninterested Unicorn

getImagesize php


<?php
$size = getimagesize("http://www.example.com/gifs/logo.gif");

// if the file name has space in it, encode it properly
$size = getimagesize("http://www.example.com/gifs/lo%20go.gif");

?>

Uninterested Unicorn

Respostas semelhantes a “getImagesize php”

Perguntas semelhantes a “getImagesize php”

Mais respostas relacionadas para “getImagesize php” em PHP

Procure respostas de código populares por idioma

Procurar outros idiomas de código