I was wondering if there was a plugin or "hack" I could do that will allow me to share the image of a product, for example with photobucket on the right hand side you have the share options, Email & IM / Direct / HTML / IMG Tag.
I would like to have these options so that I can share the image on a forum for example, or email etc.
I have added some code in the "Display - product / show.php" as per a previous thread I read which puts a module of "Load position" in the product page.
$mypostion="{loadposition shareprod}";
echo JHTML::_('content.prepare',$mypostion );
where shareprod is my module. This is a module that accepts php so I was going to try and call the image of the page and convert to a url that can be copied and pasted.
My thought was to put it in a table like this:
<table style="width: 100%">
<tbody>
<tr>
<td style="width: 15%">Email And IM</td>
<td style="width: 85%"><p>www.thetrailerbox.com<?php echo URL TO IMAGE ?>.html</p></td>
</tr>
<tr>
<td style="width: 15%">Direct</td>
<td style="width: 85%"><p>www.thetrailerbox.com<?php echo URL TO IMAGE ?></p></td>
</tr>
<tr>
<td style="width: 15%">HTML</td>
<td style="width: 85%"><a href="www.thetrailerbox.com<?php echo $_SERVER['REQUEST_URI'] ?>" target="_blank"><img src="www.thetrailerbox.com/<?php echo URL TO IMAGE ?>" border="0" alt="<?php echo NAME OF PRODUCT ?>"/></a></td>
</tr>
<tr>
<td style="width: 15%">IMG Tag</td>
<td style="width: 85%">[IMG]www.thetrailerbox.com<?php echo URL TO IMAGE ?>[/IMG]</td>
</tr>
</tbody>
</table>
Can you help at all?