Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1  Previous   Next
HTML Wik^h^h^ Smugmug
Author Message
DVD Profiler Unlimited RegistrantSimonG
Strictly Low-def
Registered: May 30, 2007
Posts: 4
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Shamelessly stolen from the wiki post below, I thought it would be nice if I could view images of the posters I own against the DVD. Slight changes to wki include making the note field <smugmug12345/> as opposed to <smugmug>12345</smugmug> so nothing appears.

This should work for flickr or anywhere else you'd like to display web images from. Shows ebay listings for posters if no tag found.

Enjoy!

<HTML>
<HEAD>
<style type="text/css">
<!--
* { color: white; font-family: verdana; font-size: 10pt; }
html, body { background-color: rgb(0, 0, 83); }
body { background-repeat: repeat-x; background-image:url($DPIMAGES.bgimage.jpg); }
h1 { text-align: center; }
a { font-size: 12pt; }
-->
</style>
<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
// -------- Configuration block - Start --------
var smuggieURL = "http://gladwell.smugmug.com/photos/";
var smuggieNoURL = "http://search.ebay.co.uk/search/search.dll?sofocus=bs&sbrftog=1&catref=C6&fcl=3&from=R10&satitle=" + DP_Title + "&sacat=18828%26catref%3DC6&sargn=-1%26saslc%3D3&sadis=200&fpos=RH10+4UB&sabfmts=1&saobfmts=insif&ga10244=10425&ftrt=1&ftrv=1&saprclo=&saprchi=&fsop=1%26fsoo%3D1&coaction=compare&copagenum=1&coentrypage=search"
var asLink = false; // Load smuggie page? var asLink = false;. Display title with link? var asLink = true;.
// -------- Configuration block - End --------
// Open smuggiepedia page or add a link for the profile
var smuggieCode = "";
var smuggieLink = "";
var smuggieStart = DP_Notes.toLowerCase().search("\<smugmug") + 8;
var smuggieEnd = DP_Notes.toLowerCase().search("/\>");
function smuggie() {

  if (smuggieEnd > 1) {
    smuggieCode = DP_Notes.slice(smuggieStart, smuggieEnd);
    smuggieLink = smuggieURL + smuggieCode;

  if (asLink == true) {
    var lnk = '<a href="' + smuggieLink + '" target="_new" onFocus="blur(this);">' + smuggieCode + '</a>';
    document.getElementsByTagName('h1')[0].innerHTML = lnk;
  } else {
    window.location.href = smuggieLink;
  }
}else{
window.location.href = smuggieNoURL;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY onload="smuggie();" scroll="auto">
<h1></h1>
</BODY>
</HTML>
 Last edited: by SimonG
DVD Profiler Unlimited RegistrantStar ContributorZwollenaar
DVDProfiler..,We needs it
Registered: March 13, 2007
Netherlands Posts: 4,506
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
What's a Smugmug...????? 
Registered: July 7 2000
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,432
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Don't really know the site, but here you go... SmugMug. (Search is your friend )
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1  Previous   Next