Maybe this is a stupid question.
I wonder if its possible to add an API link to all my pictures in my galleri so that people can click on a link under a picture and get to zazzle.com where I have created a postcard template? I got a link that looks like this from zazzle when I created the template:
Quotehttp://www.zazzle.com/api/create?at=238863649732690196&pd=239896361231555445&postcardtemplate=
Grateful for help
JG
Edit themes/yourtheme/theme.php to accomplish this. Look for $template_display_media
and modify the stuff beneath it accordingly. If this section doesn't exist in your custom theme, copy// HTML template for intermediate image display
$template_display_media = <<<EOT
<tr>
<td align="center" class="display_media" nowrap="nowrap">
<table cellspacing="2" cellpadding="0" class="imageborder">
<tr>
<td align="center">
{IMAGE}
</td>
</tr>
</table>
</td></tr>
<tr><td>
<table width="100%" cellspacing="2" cellpadding="0" class="tableb">
<tr>
<td align="center">
{ADMIN_MENU}
</td>
</tr>
</table>
<!-- BEGIN img_desc -->
<table cellpadding="0" cellspacing="0" class="tableb" width="100%">
<!-- BEGIN title -->
<tr>
<td class="tableb"><center><b>
{TITLE}
</b></center></td>
</tr>
<!-- END title -->
<!-- BEGIN caption -->
<tr>
<td class="tableb"><center>
{CAPTION}
</center></td>
</tr>
<!-- END caption -->
</table>
<!-- END img_desc -->
</td>
</tr>
EOT;
from themes/sample/theme.php into a new line of themes/yourtheme/theme.php before?>
and then edit as you see fit.
Thanks, I´ll see if I manage this my coding skills are not that developed ;)