PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Aug 11, 2020 10:55 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: add logo
PostPosted: Thu Oct 06, 2005 8:04 pm 
Offline
Forum Contributor
User avatar

Joined: Sun Sep 25, 2005 8:57 pm
Posts: 128
Location: Trapped in my own little world.
I was wondering if it was possible to have an image in like 'images/01/01.jpg' and put it on a page but with a graphic logo on it, I know it's possible to add text to it, but is it possible to add a graphic? if so can I get a link?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 06, 2005 8:06 pm 
Offline
Neighborhood Spidermoddy
User avatar

Joined: Mon Mar 29, 2004 4:24 pm
Posts: 31559
Location: Bothell, Washington, USA
I'm having real trouble trying to figure out what you are talking about. :?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 06, 2005 8:12 pm 
Offline
Forum Contributor
User avatar

Joined: Wed Aug 31, 2005 5:58 pm
Posts: 396
Location: Arkansas, USA
Do you want PHP to dynamically add an image onto the top of another image?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 06, 2005 8:21 pm 
Offline
Forum Contributor
User avatar

Joined: Sun Sep 25, 2005 8:57 pm
Posts: 128
Location: Trapped in my own little world.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 06, 2005 8:50 pm 
Offline
Spockulator
User avatar

Joined: Wed Feb 04, 2004 9:15 pm
Posts: 4714
Location: Eden, Utah
I still dont' understand??? you mean you want it layered on top, or you want to "morph" two images together?

if the former, look into absolute positioning of page elements...if the latter, ask onion2k about GD :D


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 06, 2005 8:52 pm 
Offline
Forum Contributor
User avatar

Joined: Sun Sep 25, 2005 8:57 pm
Posts: 128
Location: Trapped in my own little world.
not really sure what you mean by 'morph' but I want it for 2 images to be like layered on there into 1 image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 06, 2005 9:17 pm 
Offline
Forum Contributor

Joined: Tue Jun 21, 2005 9:05 am
Posts: 397
Location: Australia


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 06, 2005 9:34 pm 
Offline
DevNet Master

Joined: Wed Feb 11, 2004 4:23 pm
Posts: 4872
Location: Palm beach, Florida


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 06, 2005 11:38 pm 
Offline
Forum Contributor
User avatar

Joined: Mon Nov 29, 2004 7:04 pm
Posts: 291
Location: Web Dummy IS
Put it this way. You basically want to stack the pancakes?

Corny but it works.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 07, 2005 3:25 am 
Offline
Jedi Mod
User avatar

Joined: Tue Dec 21, 2004 6:03 pm
Posts: 5263
Location: usrlab.com
http://www.ooer.com/index.php?section=php&id=9

My "Starting out with GD" article .. instead of creating a new image as I did in the article you'll need to open an existing one, and then open your logo image .. so you'll have two image handles open .. then use the imagecopy() function to copy the logo onto the first image. Copying an image onto another image is covered on page 2 of the article.

Gets more complicated if you need to preserve transparency.. if you need that then ask and I'll follow up here ..


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 07, 2005 8:49 am 
Offline
Forum Contributor
User avatar

Joined: Sun Sep 25, 2005 8:57 pm
Posts: 128
Location: Trapped in my own little world.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 09, 2005 5:42 pm 
Offline
Forum Commoner

Joined: Sat Oct 08, 2005 9:16 pm
Posts: 67
Location: USA


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group