Jump to content

[SOLVED] converting a <div> tag to an image


Asperon

Recommended Posts

what would be a good way to do the following ( I will use a business card example)

 

be able to select backgrounds, then add text in designated areas and print as an image

 

would you have hte backgrounds as images and then use php to write ontop of the image?

I would utilize a select list to select the background image and then have several text fields for the individual elements of text: name, address, phone, etc. then you can more easily create an image using the GD Library. But, trying to dynamically determine what is in a DIV and where would be difficult.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.