Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem z ImageCreate(chyba)
gkeb
post 6.03.2004, 23:29:55
Post #1





Grupa: Zarejestrowani
Postów: 46
Pomógł: 0
Dołączył: 6.03.2004

Ostrzeżenie: (0%)
-----


mam taki kodzik w osobnym pliku (show.php):
[php:1:195ad7ee5f]<?php

header("Content-type: image/jpeg");
$im = ImageCreateFromJpeg("jakis_jpeg.jpg");
ImageJpeg($im,'',90);
ImageDestroy($im);

?>[/php:1:195ad7ee5f]

w jakims tam pliku html wpisuje
Kod
<IMG SRC="show.php">


teoretycznie w tym momencie powinien pokazac mi sie obrazek a sie nie pokazuje.probowalem z gifami i tez nie dziala
w phpinfo w sekcji gd wypisuje mi:
GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.5
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

co robie nie tak??
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
gkeb
post 7.03.2004, 14:17:15
Post #2





Grupa: Zarejestrowani
Postów: 46
Pomógł: 0
Dołączył: 6.03.2004

Ostrzeżenie: (0%)
-----


nie mam bladego pojecia. wiem ze powinno dzialac, plik grafiki jest w tym samym katalogu co skrypt php i strona html wiec nie powinno byc zadnego problemu sad.gif
za to to drugie rozwiazanie Blaster jakie dales to dziala od razu smile.gif
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 24.06.2025 - 08:36