J'ai seau clip installé sur mon serveur et j'ai essayé d'obtenir ce travail, mais il a besoin de certains tweaking donc ici est l'élément de code qui est liée au problème autour de ligne 1700
Quelques lignes à cet endroit sera "$ dem = getimagesize(src);" C'est la ligne de l'erreur sur elle.
Maintenant des questions similaires ont ceci fixe en changeant le code d'affichage autour pour permettre le meilleur accès de fichier de la source de ce que j'ai lu. exemple similaire que j'ai trouvé.
http://www.joomlashack.com/community/in ... 142.0.htmlhttp://angrybirdstube.com/le site sur que je travaille et vous pouvez voir l'erreur dans le droit bar où il doit afficher des photos.
quelqu'un a une idée ?
if($p['output'] == 'html')
{
$size = "_".$p['size'];
$src = array_find($photo['filename'].$size,$thumbs);
if(empty($src))
$src = $this->default_thumb($size);
else
$src = $src;
$dem = getimagesize($src);
$width = $dem[0];
$height = $dem[1];
$img = "<img ";
$img .= "src = '".$src."'";
if($p['id'])
$img .= " id = '".mysql_clean($p['id'])."_".$photo['photo_id']."'";
if($p['class'])
$img .= " class = '".mysql_clean($p['class'])."'";
if($p['align'])
$img .= " align = '".$p['align']."'";
if(($p['width'] && is_numeric($p['width'])) && ($p['height'] && is_numeric($p['height'])))
{
$height = $p['height'];
$width = $p['width'];
}
elseif($p['width'] && is_numeric($p['width']))
{
$height = round($p['width'] / $width * $height);
$width = $p['width'];
}
elseif($p['height'] && is_numeric($p['height']))
{
$width = round($p['height'] * $width / $height);
$height = $p['height'];
}
$img .= " width = '".$width."'";
$img .= " height = '".$height."'";
- if($p['output'] == 'html')
- {
-
- $size = "_".$p['size'];
-
- $src = array_find($photo['filename'].$size,$thumbs);
- if(empty($src))
- $src = $this->default_thumb($size);
- else
- $src = $src;
-
- $dem = getimagesize($src);
- $width = $dem[0];
- $height = $dem[1];
-
- $img = "<img ";
- $img .= "src = '".$src."'";
-
- if($p['id'])
- $img .= " id = '".mysql_clean($p['id'])."_".$photo['photo_id']."'";
-
- if($p['class'])
- $img .= " class = '".mysql_clean($p['class'])."'";
-
- if($p['align'])
- $img .= " align = '".$p['align']."'";
- if(($p['width'] && is_numeric($p['width'])) && ($p['height'] && is_numeric($p['height'])))
- {
- $height = $p['height'];
- $width = $p['width'];
- }
- elseif($p['width'] && is_numeric($p['width']))
- {
- $height = round($p['width'] / $width * $height);
- $width = $p['width'];
- }
- elseif($p['height'] && is_numeric($p['height']))
- {
- $width = round($p['height'] * $width / $height);
- $height = $p['height'];
- }
-
- $img .= " width = '".$width."'";
- $img .= " height = '".$height."'";