Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Customizing a Graphic

Reply
Thread Tools

Customizing a Graphic

 
 
grantroelofs@gmail.com
Guest
Posts: n/a
 
      07-25-2007
I have web course on a website that I would like to generate a
certificate for when completed. I would like the certificate to be
presented to the user as a single graphic. This means getting the
persons name and date into the graphic. I don't want HTML text
overlaying a background image. I would also like the option for the
user to upload an image which could also be put into the certificate.
I want the user to be able to download this image, the big reason I
want it all in a single graphic. Can someone offer me some advice on
how to make these images automatically. I do want the quality to look
as professional as possible.

 
Reply With Quote
 
 
 
 
thanatoid
Guest
Posts: n/a
 
      07-25-2007
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote in
news:(E-Mail Removed) ups.com:

> I have web course on a website that I would like to
> generate a certificate for when completed. I would like
> the certificate to be presented to the user as a single
> graphic. This means getting the persons name and date into
> the graphic. I don't want HTML text overlaying a
> background image. I would also like the option for the
> user to upload an image which could also be put into the
> certificate. I want the user to be able to download this
> image, the big reason I want it all in a single graphic.
> Can someone offer me some advice on how to make these
> images automatically. I do want the quality to look as
> professional as possible.


Forgive me if I misunderstood, but YOU are TEACHING a COURSE???
O N W H A T ???????


--
Any mental activity is easy if it need not be subjected to
reality.
 
Reply With Quote
 
 
 
 
Neredbojias
Guest
Posts: n/a
 
      07-25-2007
Well bust mah britches and call me cheeky, on Wed, 25 Jul 2007 04:09:03 GMT
scribed:

> I have web course on a website that I would like to generate a
> certificate for when completed. I would like the certificate to be
> presented to the user as a single graphic. This means getting the
> persons name and date into the graphic. I don't want HTML text
> overlaying a background image. I would also like the option for the
> user to upload an image which could also be put into the certificate.
> I want the user to be able to download this image, the big reason I
> want it all in a single graphic. Can someone offer me some advice on
> how to make these images automatically. I do want the quality to look
> as professional as possible.


Don't think that can be done but I'd be happy to be proven wrong.

--
Neredbojias
Half lies are worth twice as much as whole lies.
 
Reply With Quote
 
Chris F.A. Johnson
Guest
Posts: n/a
 
      07-25-2007
On 2007-07-25, (E-Mail Removed) wrote:
> I have web course on a website that I would like to generate a
> certificate for when completed. I would like the certificate to be
> presented to the user as a single graphic. This means getting the
> persons name and date into the graphic. I don't want HTML text
> overlaying a background image. I would also like the option for the
> user to upload an image which could also be put into the certificate.
> I want the user to be able to download this image, the big reason I
> want it all in a single graphic. Can someone offer me some advice on
> how to make these images automatically. I do want the quality to look
> as professional as possible.


That can be done with ImageMagick.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
 
Reply With Quote
 
Pennywise@DerryMaine.Gov
Guest
Posts: n/a
 
      07-25-2007
"Chris F.A. Johnson" <(E-Mail Removed)> wrote:

>On 2007-07-25, (E-Mail Removed) wrote:
>> I have web course on a website that I would like to generate a
>> certificate for when completed. I would like the certificate to be
>> presented to the user as a single graphic. This means getting the
>> persons name and date into the graphic. I don't want HTML text
>> overlaying a background image. I would also like the option for the
>> user to upload an image which could also be put into the certificate.
>> I want the user to be able to download this image, the big reason I
>> want it all in a single graphic. Can someone offer me some advice on
>> how to make these images automatically. I do want the quality to look
>> as professional as possible.


> That can be done with ImageMagick.


instead it can modify an already existing image
http://en.wikipedia.org/wiki/ImageMagick

He would need something that could generate images (persons name and
such) as layers, then flatten the image.
--
Man changing flat tire on his RV surprised when airplane
bounces over his vehicle during emergency landing.
http://tinyurl.com/2gboar
 
Reply With Quote
 
Sherm Pendley
Guest
Posts: n/a
 
      07-25-2007
(E-Mail Removed) writes:

> I have web course on a website that I would like to generate a
> certificate for when completed.


A "web course?" I hope it's not about web development, because if so then
asking this question seems to disqualify you from teaching it.

> I would like the certificate to be
> presented to the user as a single graphic. This means getting the
> persons name and date into the graphic. I don't want HTML text
> overlaying a background image.


Options abound. You could use ImageMagick or GD, which are both accessible
from a wide variety of languages:

<http://www.imagemagick.org>
<http://www.libgd.org>

Regardless of the toolkit or language you use, the general approach will be
the same: You'd composite the image layers on the server, using the static
background, generated text, and uploaded image. The result would be a bitmap
that you would then compress to either GIF or JPEG to return to a browser.

None of that is at all relevant to HTML though - it's all done on the server,
which produces either image/gif or image/jpeg data in its response. You'd
refer to the server-side app that produces the image the same way you would
any other image, with an img element:

<img src="make_image.cgi?id=bar">

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
 
Reply With Quote
 
Chris F.A. Johnson
Guest
Posts: n/a
 
      07-25-2007
On 2007-07-25, (E-Mail Removed) wrote:
> "Chris F.A. Johnson" <(E-Mail Removed)> wrote:
>
>>On 2007-07-25, (E-Mail Removed) wrote:
>>> I have web course on a website that I would like to generate a
>>> certificate for when completed. I would like the certificate to be
>>> presented to the user as a single graphic. This means getting the
>>> persons name and date into the graphic. I don't want HTML text
>>> overlaying a background image. I would also like the option for the
>>> user to upload an image which could also be put into the certificate.
>>> I want the user to be able to download this image, the big reason I
>>> want it all in a single graphic. Can someone offer me some advice on
>>> how to make these images automatically. I do want the quality to look
>>> as professional as possible.

>
>> That can be done with ImageMagick.

>
> instead it can modify an already existing image
> http://en.wikipedia.org/wiki/ImageMagick
>
> He would need something that could generate images (persons name and
> such) as layers, then flatten the image.


With ImageMagick, a command like this could be used to put the
text "John Doe" onto the image xx.png:

convert -font "-*-helvetica-bold-r-normal--*-240-*-*-*-*-*-*" \
-fill black -draw "text 160,100 'John Doe'" \
xx.png xxx.png

Unfortunately, convert requires an X server, so it cannot be used
in a CGI (or is there a way?).

Another possibility is to write a PostScript file (see
<http://woodbine-gerrard.com/testing/xx.cgi>); ideally it should be
converted to PDF, but that, too, requires X.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
 
Reply With Quote
 
Travis Newbury
Guest
Posts: n/a
 
      07-25-2007
(E-Mail Removed) wrote:
> I have web course on a website that I would like to generate a
> certificate for when completed...


This is a simple process with Flash. All of the training we create
have printable certificates when the courses are over. I believe you
can find something at www.flashkit.com that will meet your needs.

 
Reply With Quote
 
Travis Newbury
Guest
Posts: n/a
 
      07-25-2007
On Jul 25, 1:12 am, Neredbojias <(E-Mail Removed)> wrote:
> > I have web course on a website that I would like to generate a
> > certificate for when completed....

> Don't think that can be done but I'd be happy to be proven wrong.


Flash can do it...


 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      07-25-2007
Well bust mah britches and call me cheeky, on Wed, 25 Jul 2007 10:01:15 GMT
Travis Newbury scribed:

> On Jul 25, 1:12 am, Neredbojias <(E-Mail Removed)> wrote:
>> > I have web course on a website that I would like to generate a
>> > certificate for when completed....

>> Don't think that can be done but I'd be happy to be proven wrong.

>
> Flash can do it...


The methods I've read about in this thread so far seem kind of hard. I
want something easy, man, like a no-brainer.

--
Neredbojias
Half lies are worth twice as much as whole lies.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customizing a Graphic grantroelofs@gmail.com Computer Support 13 07-25-2007 09:43 PM
Is it possible to mouseover a GRAPHIC . . . that launches another (freestanding) GRAPHIC (ie. when flash is _not_ available)? 50 SOMETHING GAL HTML 3 12-10-2006 01:10 AM
Customizing the Data Grid Control vsssandeep boggavarapu via .NET 247 ASP .Net 1 06-11-2005 11:25 AM
customizing e-mail printing in thunderbird marco Firefox 0 12-03-2004 07:52 PM
Customizing LDAP attribute in Netscape 7.1 Edoardo Tirtarahardja Firefox 0 08-04-2003 02:07 PM



Advertisments