XFileSharing Pro - direct image link in download page

Message
Author
xlpar
Posts: 3
Joined: Aug 12, 2010 7:47 pm

direct image link in download page

#1 Postby xlpar » Sep 03, 2010 2:17 pm

hi,
i add a tab for direct image link in download page :

<TMPL_IF thumb_url>
<div class="tabbertab">
<h2><TMPL_VAR lang_direct_link></h2>
<textarea id="ic1-<TMPL_VAR file_id>" style="width:98%;" cols=24 rows=3 onFocus="copy(this);"><TMPL_VAR image_url></textarea>
</div>

<div class="tabbertab">
<h2><TMPL_VAR lang_forum_code></h2>
<textarea id="ic1-<TMPL_VAR file_id>" style="width:98%;" cols=24 rows=3 onFocus="copy(this);">[img]<TMPL_VAR%20thumb_url>[/img]</textarea>
</div>

as you see i set image_url for link . but when i test , it won't give a direct link !
here is a direct link that i recive after upload :
http://server1.xlpar.com/i/00009/ggk3dwd59dh0.jpg
and here what i recive in direct link tab after goint into download page :
http://server1.xlpar.com/files/9/tfnt2rboncx0t7/Water lilies.jpg

what should i replace with "image_url" in tap that i add ?
tnx.

xlpar
Posts: 3
Joined: Aug 12, 2010 7:47 pm

#2 Postby xlpar » Sep 05, 2010 5:29 am

any idea?