My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

Image generator

ZetaPrints provides excellent image generation service based on vector-graphic templates. Designers can create collections of designs, including virtual cards. These cards can be viewed and customized using this plugin.

How it works

The plugin downloads an RSS feed with a list of card designs, shows previews and sends requests to ZetaPrints image generation API to insert user text in the templates. The finished card design is emailed to the intended recipient.

Embedding

Use the code snippet below with your values for width, height, source file location and feed URL.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash
/swflash.cab#version=9,0,0,0" width="???" height="???" id="e-cards-plugin"
align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="e-cards-plugin.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <param name="FlashVars" vaule="params=http://???" />
    <embed src="e-cards-plugin.swf" quality="high" bgcolor="#666666" width="???" height="???" 
    name="e-cards-plugin" align="middle" allowScriptAccess="sameDomain"
    allowFullScreen="false" type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    FlashVars="params=http://???" />
</object>

Parameters

FlashVars parameters:

  • params - URL of the data feed, required
  • email - URL of the email plugin to redirect the user to with the image ID, optional

Example: params=http://zetaprints.com/RssTemplates.aspx?0AFC70BA-F856-42D9-B707-FFF27753F0F0&email=http://example.com/blog/ecard.php?imageid=

WordPress plugin

Our e-cards plugin for WordPress uses the Flash widget and does all the configuration of <object> for you, plus it actually sends the cards users make right from your site. Install the plugin, configure data feed, size, list of recipients, privacy settings and it's good to go.

Source code location: http://wordpress.org/extend/plugins/zpecards/ , we do not use Google SVN for this part of the project any more.

Powered by Google Project Hosting