473,396 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to embed logo in to photo

yyuuvvii
Hey,all
i want to embed my website’s logo into the photos uploaded through my website using php so that the photographs cann’t be used by another websites
thanks in advance
Feb 5 '10 #1
1 2171
Atli
5,058 Expert 4TB
Hey.

To do that, you could use the GD functions, or if you prefer, the ImageMagick extension.

Assuming you want to use the GD functions, you would simply load both the images using the imagegetfrom* functions, merge them using the imagecopymerge function (the watermark resized and re-located), and then save/output the new image using the image* function.

The examples in the manual should give you a pretty good idea of how to assemble these functions into what you need.

If you run into problems, post you code here and we will try to help. Also post any error messages you get.
Feb 5 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

34
by: Brandon J. Van Every | last post by:
What do you think of this Python logo? http://pythonology.org/logos Good, bad, indifferent, love it, hate it? -- Cheers, www.indiegamedesign.com Brandon Van Every ...
4
by: Pawel | last post by:
Hello All I tried to embed Excel sheet into HTML page by following command: <iframe src="Tmp.XLS" width="100%" height="500"></iframe> and it works, showing Excel sheet inside the page, but...
12
by: frizzle | last post by:
Hi there, I was wondering what's the quickest way to put a (transp-PNG) over a picture? I have a code, but i guess it's sloppy. And it's slow. (Code below this message) Could anyone...
6
by: Richard | last post by:
On my webpage I am making I want that if users view any image in my gallery a small logo/tekst will appear in the image. I know it's possible but I haven't got a clue how to get a logo or tekst on...
24
by: Manuel | last post by:
Is it possible to embed an image, like a company logo in a CDOSYS generated message? If yes, I´ll apreciate some code sample. I´ve been able to format messages in html the way I like, but I...
1
by: ttamilvanan81 | last post by:
Hai everyone, I am working with a Image/Video Application. I need to display and play any video file in browser. Now i am using the following Embed Tag. <OBJECT ID="mediaPlayer" ...
3
by: raamay | last post by:
I am trying to embed company logo (image) in an html email which i am sending using PHP mail function. I tried the following way but didnt work. So, I am not sure how to go about. Please see my code...
21
by: neovantage | last post by:
Hey All, I want to embed logo while upload an image. I mean when i upload an image, i want to embed the logo of the website in that uploaded image. Kindly help me out to sort out my problems...
1
by: movieking81 | last post by:
This really isn't an ASP question, but the code is ASP so feel free to move this to the right place if necessary. I have two ASP pages with some embed code on them on two different hosting...
1
by: movieking81 | last post by:
I have some html pages with some embed code on them on two different hosting platforms. First one (Win2003,IIS) <object> <param name='movie' value='st1.mov'> <embed src='st1.mov' width='725'...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.