textbox Posted May 18, 2007 Share Posted May 18, 2007 Hello, is it possible to overlay a new image during an upload?! Sort of a watermark, but with a full opacity and the full size of the original image? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/51983-overlaying-a-new-image-during-upload/ Share on other sites More sharing options...
Fearpig Posted May 18, 2007 Share Posted May 18, 2007 A watermark with full opacity...? A way round that would be to detect the size of the image being uploaded and replace it completely with your full opacity version! That way you wouldn't have to edit on the fly. Is that what you mean or have I got the wrong end of the stick? Quote Link to comment https://forums.phpfreaks.com/topic/51983-overlaying-a-new-image-during-upload/#findComment-256229 Share on other sites More sharing options...
textbox Posted May 18, 2007 Author Share Posted May 18, 2007 Sort of yes. I wish a user to upload a normal image. Then i need a script that adds the watermark type image to it which will be a gif with a transparent middle. The transparent middle allows the user image to be seen. Just like this really. Quote Link to comment https://forums.phpfreaks.com/topic/51983-overlaying-a-new-image-during-upload/#findComment-256277 Share on other sites More sharing options...
textbox Posted May 18, 2007 Author Share Posted May 18, 2007 Is it a watermark i want to be looking into?! Quote Link to comment https://forums.phpfreaks.com/topic/51983-overlaying-a-new-image-during-upload/#findComment-256359 Share on other sites More sharing options...
Daleeburg Posted May 18, 2007 Share Posted May 18, 2007 Is the page refreshing inbetween the upload, or is it one page all the time. If it is one page all the time, this sounds more like a java thing. ~D Quote Link to comment https://forums.phpfreaks.com/topic/51983-overlaying-a-new-image-during-upload/#findComment-256365 Share on other sites More sharing options...
textbox Posted May 18, 2007 Author Share Posted May 18, 2007 It can be either to be honest. At the moment, when an image is uploaded the page refreshes. I think it uses $PHP_SELF. Quote Link to comment https://forums.phpfreaks.com/topic/51983-overlaying-a-new-image-during-upload/#findComment-256374 Share on other sites More sharing options...
textbox Posted May 18, 2007 Author Share Posted May 18, 2007 Is it GD library that i need to use? Or just a piece of code?! Quote Link to comment https://forums.phpfreaks.com/topic/51983-overlaying-a-new-image-during-upload/#findComment-256540 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.