dreams3577 Posted May 21, 2008 Share Posted May 21, 2008 Hi All I would like to create a contribution that is a download product, a coupon (ie: a jpg image) however using GD Library write the invioce/order number onto the image (at a later stage i would like to draw a bar code on it)... No other info needs to be recorded into the store database as the coupon is to be used in a real life shop. Is there such a contribution already? if not, where do i start???? Many Thanks Steve Quote Link to comment Share on other sites More sharing options...
dreams3577 Posted May 22, 2008 Author Share Posted May 22, 2008 Anyone? Please??? Quote Link to comment Share on other sites More sharing options...
OceanRanch Posted May 22, 2008 Share Posted May 22, 2008 I'm not aware of any contribution..... However, I would think that you could change the download php file that copies the jpeg file to the download directory. Modify it to create a version of the jpeg with embeded text. Google for phpthumb and you'll find a nice GD compatible function that will create the new jpeg with the invoice number in it. HTH Tom Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.