phpQuestioner Posted October 2, 2007 Share Posted October 2, 2007 i have a gd image that loads and once it is clicked a pop-up will open and display the image again only at a bigger size. i am not resizing the image with gd; i am resizing with regular html image tag's width and height properties. when the initial gd image loads for the first time; it loads normally, but when it loads in the pop-up window; it loads normally and then it is like it reloads itself again, because you can see a white line go from top to bottom of the image. i do not know what is causing this; i was wondering if the gd image is being cached by the browser and displays at first; then the gd code loads from the php script and the white line is because the background of the pop-up is white and the cached image is being reloaded from the php script. any way - anyone have any ideas? - anyone know how to prevent this? - would i us a no-cache header? if anyone has had this to happen to them or knows of a quick fix; please let me know - thanks. Quote Link to comment https://forums.phpfreaks.com/topic/71574-gd-image-loads-and-then-you-see-white-line-go-from-top-to-bottom-of-pic-why/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.