Hi, I am developing a photo album running in windows apache 5.0 , PHP, mYsql (local window system). when i create a thumbnail image in directory and then dynamic creating a img tag where i input the image path ,but the image does not render in firefox. a white box appears with alt keyword.when i right click and do view image it tells "firefox cannot able to open this address protocols (c) doesnt associate with any program.
|
Mother Earth, it should be of no difference to the browser how you create the image – in other words, it looks like your PHP code is creating a faulty image. For instance, make sure you serve the correct content/ mime type using PHP's "header" function. |
thank philip i am just echoing the img tag with the url pointin to thumbnail directory. it works well with IE |
Can you post the image URL (if it's public)? |
philipp why dont u enable tag "code" so that we can post the source code
screenshot for the image
<img src="http: //ssuresh83.googlepages.com/say.JPG"/ >
working locally will have any problem . [Added space after http... -Philipp] |
What I meant is can you post the image URL of the image that is causing problems... |
ok philip . tell me this.
i am just displaying the image . for each image that i am displaying as thumbnail , i have to show 9 images per page.do i have to send header (Content-Type:image/jpeg) dependin on image type. |