Picasaweb Img Direct Links

By Markus_B Last update Jan 5, 2009 — Installed 659 times.

Thank you! -A Little Modification?

in
Subscribe to Thank you! -A Little Modification? 1 post, 1 voice

Swashata Scriptwright

First of all thanks a lot for providing us with this script! We have been creating smilies and avatar and all for Orkut and this script has eases things up by giving direct links to images!
But I would suggest the following modification

1. Please change the include option to http://picasaweb.google.*/*/* This thing will enable all users around the globe to execute the script

2. Can you provide a textarea below the Id lhid_album_title and provide the direct links inside them! As we need the direct url for making further scripts that will be very useful! For now I have changed the following in the code


var a = document.createElement('a');
a.setAttribute("href", link);
a.setAttribute("class", "dLink");
a.setAttribute("title", "Click for image");
a.appendChild(document.createTextNode(link));
document.getElementById('lhid_album_title').parentNode.appendChild(a);
a.parentNode.appendChild(document.createElement('br'));

In this way I am able to get the direct links of the images in URL form

Thank you

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel