Hi,
bei manchen Leuten geht der Foto Upload von jpg Bildern ohne Probleme,
wie bei mir zum Beispiel.
Aber bei machen Usern zeigt es keine Bilder an, obwohl welche im Verzeichniss liegen,
allerdings ohne "jpg" Endung. Das heißt: Der User lädt sein Bild hoch und es liegt auch erfolgreich im
entsprechenden Ordner, aber Falsch. So sieht es dann aus "Ivan1" oder "Gabi3" und so sollte es sein "Ivan1.jpg"
Hatte jemand das Problem schon mal??
Oder ist was bekannt. Im Forum findet man zu dem Thema gar nix.
Danke für die Hilfe Gruß Atze
Hallo !
Wahrscheinlich wieder das alte Problem mit dem Mime-Typ.
bei einigen Browsern wird als Mime-Typ image/jpeg übertragen bei einigen
aber auch image/jpg
Wenn das Script dem nicht rechnung trägt, und beide Varianten berücksichtigt, dann fehlt
bei einer Hälfte dann der korrekte Typ.
MfG
jubilee
Hi,
genau so wirds sein.
Was tun??
Hallo !
Schau mal in die Datei /modules/User_Fotoalbum/upload.php
Zeile 29:
alt:
Zitatif($bild1_type != "image/pjpeg" and $bild1_type != "image/jpeg" and $bild1_type != "image/gif")
neu:
Zitatif(($bild1_type != "image/pjpeg") and ($bild1_type != "image/jpeg") and ($bild1_type!= "image/jpg") and ($bild1_type != "image/gif"))
Zeile 37:
alt:
Zitatif($bild1_type == "image/pjpeg") $format1 = ".jpg";
neu:
Zitatif(($bild1_type == "image/pjpeg")||($bild1_type == "image/jpeg")|| ($bild1_type == "image/jpg")){ $format1 = ".jpg";}
Dann mal bitte ausprobieren, ob es daran gelegen hat.
MfG
jubilee
Hi,
klappt so weit mal...
Danke