I understand that a mod rewrite might be the issue, but I have set none and how would I go about tackling this issue?
Thanks,
User Profile
Collapse
-
The pictures are not uploaded, but downloaded by us.
I have uploaded the picture to a different server of mine and it works perfectly. I don't know why i am getting this error only with my older server and why now... this is very strange. Is there a place to check for file assossications in apache?
ThanksLeave a comment:
-
Here is the code I have used to create the picture:
[PHP]
$i = http://www.site.com/pic1.jpg
$ni = "/home/virtual/site1/var/www/html/pics/new_pic.jpg";
if (!$img=@imagecr eatefromjpeg("$ i")) {
die;
}
$newimg=imagecr eatetruecolor(1 00,100);
$bgColor = imagecoloralloc ate($newimg, 255,255,255);
imagefill($newi mg,0,0,$bgColor );
imagecopyresamp led($newimg,$im g,0,0,0,0,100,1 00,100,100);...Leave a comment:
-
error ouput opening a picture file
Hey guys,
I have created many picture files using gd_library, I recently decided to rename all of my pictures files on my web server to text instead of just numbers.
Example: productsssh.jpg
I am recently receiving a wierd error when I open up some of the picture files. Here is the name of the picture: productsssh.jpg .
I get the following error only when i open up that picture via the web: ... -
I haven't played around with any of my settings and no I am simply calling up the pictures by directly, example:
http://www.site.com/pics/pictures.jpg
Maybe somehow, apache is reading the jpg files as php which is very strange and does not happen when my pictures are in number name format. example 112233.jpg
By the way this only happens to pictures that i have created with php gd library, via php....Leave a comment:
-
No the pictures are not witht he php extension. ALl the pictures are jpeg example: productssh.jpg.Leave a comment:
-
error ouput opening a picture file
Hey guys,
I have created many picture files using gd_library, I recently decided to rename all of my pictures files on my web server to text instead of just numbers.
Example: productsssh.jpg
I am recently receiving a wierd error when I open up some of the picture files. Here is the name of the picture: productsssh.jpg .
I get the following error only when i open up that picture via the web: ...
No activity results to display
Show More
Leave a comment: