Ideally you should give them the download.php link. <img src="{DIRURL}/download.php?id={IMAGEID}&attachid={ATTACHID}">. You can use a direct filename if you insist using the attachments template variable for that: scripts.webmastersite.net/w...allery/manual/articles/312
Replace {LINKID} with {IMAGEID} (was thinking of WSN Links). If it still doesn't work then you're placing it somewhere that those template variables don't apply.
That depends on where you're giving them the link. If you give them the link on your gallery somewhere within the scope of the particular image attachment, the variables properly fill before they see the page. If you're giving them the link somewhere else on your site, then I don't know how you know which image you're giving them anyway.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on hotlink liink?
Usergroup: Member
Joined: Jan 16, 2006
Total Topics: 3
Total Comments: 10
I'd like to display an image URL that the user can copy/paste to other webpages to display pictures from their galleries.
similar to what sites like photobucket and imageshack do.
For instance, after upload, a message is displayed like:
copy and paste this code into your webpage: "<img src = "http://here.com/picture.wsn">
can this be done?
Thanks
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Ideally you should give them the download.php link. <img src="{DIRURL}/download.php?id={IMAGEID}&attachid={ATTACHID}">. You can use a direct filename if you insist using the attachments template variable for that: scripts.webmastersite.net/w...allery/manual/articles/312
Usergroup: Member
Joined: Jan 16, 2006
Total Topics: 3
Total Comments: 10
when I attemp to use the download link within the <img src...> tag, all that is displayed is:
".. "
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Replace {LINKID} with {IMAGEID} (was thinking of WSN Links). If it still doesn't work then you're placing it somewhere that those template variables don't apply.
Usergroup: Member
Joined: Jan 16, 2006
Total Topics: 3
Total Comments: 10
A ha.
I want users to be able to hotlink from other websites. The template variables wouldn't apply then, correct?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That depends on where you're giving them the link. If you give them the link on your gallery somewhere within the scope of the particular image attachment, the variables properly fill before they see the page. If you're giving them the link somewhere else on your site, then I don't know how you know which image you're giving them anyway.