Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

Ezilon Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 11-27-2004, 09:33 PM   #1 (permalink)
Inactive
 
Jonathan's Avatar
 
Join Date: 05-30-04
Location: fla
Posts: 52
iTrader: 0 / 0%
Latest Blog:
None

Jonathan is liked by many
Send a message via MSN to Jonathan
GD picture help.

hello,

I feel the best way to describe the question i have is to give an example of what i need to do, then ask my question.
lets say i have a gif image, whos name is 1.gif, and whos demensions are 50px x 50px.
and i want to put it on a page called index.php. i dont want to embed it.
so what is the best way to do that?

<img src="1.gif" width="50" height="50" align="middle" lowsrc="1.gif">

this code seems to work. but i cant seem to do any of the stuff that i have been reading about.for instance how do i use these codes?

ImageCreateFromGd(),
imageColorAlocate(),
ImageDestroy(),
--------------------------------------------------------------------
could some one plug in these values for me and show me what the following code would look like ?
Jonathan is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 11-28-2004, 04:43 PM   #2 (permalink)
Inactive
 
Jonathan's Avatar
 
Join Date: 05-30-04
Location: fla
Posts: 52
iTrader: 0 / 0%
Latest Blog:
None

Jonathan is liked by many
Send a message via MSN to Jonathan
Angry

i think of those three codes listed, i understand color allocate best
bascily its asking for RGBA color scheem. (255.255.255.0) would be one color,but it also it asks about traqnsparency as well.
the other 2 im not quite sure of.

i went to www.boutell.com/gd and I could not find any forum there.
Jonathan is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-03-2004, 11:49 PM   #3 (permalink)
Inactive
 
Join Date: 12-03-04
Location: USA
Posts: 15
iTrader: 0 / 0%
Latest Blog:
None

Jony is liked by many
Send a message via AIM to Jony
I dont understand why you want to use GD to create the image. Is the image already there? If it is, there's no point in using GD because GD is used to create images and manipulate them via the web. Maybe im misunderstanding???

If you have the image already just stick to
<img src="1.gif" width="50" height="50" align="middle" lowsrc="1.gif">

If you wanna do this while in php you can just print the code:
<?php
print("<img src='1.gif' width='50' height='50' align='middle'>");
?>

I hope this helps
Jony is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Picture: The New 007 FID53434054 Politics 13 05-09-2007 10:41 PM
My picture Won. joecacia Digital Photography 8 08-16-2006 09:49 AM
Cheery picture Liam Caulfield Graphic Design Forum 1 07-26-2004 12:32 PM
IP PICTURE AD XD Marketing Forum 4 04-15-2004 10:37 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 08:48 PM.
© Copyright 2008 V7 Inc