Zen Cart Logo
Forums / General Questions / overlay text on image

overlay text on image

Views: 1,334

Results 1 to 5 of 5
12 Jan 2013, 10:20 AM
#1
xr3461 avatar

xr3461

New Zenner

Join Date:
Dec 2012
Posts:
29
Plugin Contributions:
0

overlay text on image

:blush:Where customers are able to download images after checkout, how is it possible to give them the option to overlay text before downloading. For example writing their own name on top of the image. So the image they download will have their name on it. Also if they don't write anything, there will be a default text ( that i have entered before ) which will appear on their downloaded image.

12 Jan 2013, 4:55 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: overlay text on image

Custom text will require a good bit of custom coding to have your desired effect

12 Jan 2013, 6:18 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: overlay text on image

If you were referring to PDF files, this discussion thread has some related ideas: http://www.zen-cart.com/showthread.php?180345-Automatically-Stamping-Customer-Name-on-PDF-eBooks
For JPG files instead you could take the same concepts but write your own PHP code (see image functions on php.net site) to watermark the images with the necessary text. There are many online tutorials for writing PHP code to watermark or otherwise manipulate images. Then use that as a replacement for the PDF part of the process discussed in the discussion thread I mentioned.

17 Jan 2013, 10:20 AM
#4
xr3461 avatar

xr3461

New Zenner

Join Date:
Dec 2012
Posts:
29
Plugin Contributions:
0

Re: overlay text on image

I am unable to find any tutorial that explains how to embed a text input ( that a customer types in ) on a set location of the downloading image ? I also want to have a separate page/input field for customers just before proceeding to checkout, to enter their text that will finally be embedded in the final image.

18 Apr 2013, 7:10 AM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: overlay text on image

xr3461:

I am unable to find any tutorial that explains how to embed a text input ( that a customer types in ) on a set location of the downloading image ? I also want to have a separate page/input field for customers just before proceeding to checkout, to enter their text that will finally be embedded in the final image.

... a possible solution? I am also investigating this.

http: // www . product-attribute-pictures . com/index.php/text-overlays-for-images-tofi.html