Use API for short links of uploaded pictures

pascal4039

New Member
Wurlie User
Reservo User
Jun 18, 2014
10
0
1
Hey,

if you upload an image on http://www.boardplus.org it will generate s SHRDD.ME (http://www.shrdd.me) link to shorten the url of the picture-page.

The format of this generated link is:

http://www.shrdd.me/index.html?agreeTerms=1&submitted=1&longUrl=http://boardplus.org/index.php?seite=display&img=i63bmys1i


If you try to click it, your URL shortener creates a link, but without the '&img' tag of the original link.

What can i do to get it working properly ?


Thanks alot :)
 

pascal4039

New Member
Wurlie User
Reservo User
Jun 18, 2014
10
0
1
In my template, which generates the SHRDD.ME code, i'm calling it like so:

Code:
<div><a href="http://www.shrdd.me/index.html?agreeTerms=1&submitted=1&longUrl={link datei.codeid=$datei.codeid}images_seite{/link}"><img src="{$designdir}/icons/bildhochladen.png" width="16" border="0" alt="" /> <b>SHRDD.ME</b></a></div>

Would be great if you can help me how to configrue my template to generate a shorten link of the original full lengthen link.


Thanks alot.