Difference between revisions of "Widget:FlickrUserH2"

From Camera-wiki.org
Jump to: navigation, search
m
m
Line 5: Line 5:
 
To add a horizontal flickr stream badge to your profile, drop in this code, replaced the user ID with your Flickr User ID. You can find your Flickr ID by going to flickr home page and looking for small orange RSS "subscribe" icon on the lower left. Look for "id=" in the URL it links to and copy everything between the '=' to '&' :
 
To add a horizontal flickr stream badge to your profile, drop in this code, replaced the user ID with your Flickr User ID. You can find your Flickr ID by going to flickr home page and looking for small orange RSS "subscribe" icon on the lower left. Look for "id=" in the URL it links to and copy everything between the '=' to '&' :
  
<nowiki>{{</nowiki>#widget:FlickrUserH|user=8386148@N06<nowiki>}}</nowiki>
+
<nowiki>{{</nowiki>#widget:FlickrUserH2|user=8386148@N06<nowiki>}}</nowiki>
  
 
== Copy to your site ==
 
== Copy to your site ==
Line 18: Line 18:
  
 
<a href="https://www.flickr.com" id="flickr_logo">www.<strong style="color:#3993ff">flick<span style="color:#ff1c92">r</span></strong>.com</a>
 
<a href="https://www.flickr.com" id="flickr_logo">www.<strong style="color:#3993ff">flick<span style="color:#ff1c92">r</span></strong>.com</a>
<span id="flickr_title"></span>
+
<span id="flickr_title">Titel</span>
 
<div id='flickrfeed'></div>
 
<div id='flickrfeed'></div>
  
Line 48: Line 48:
 
         });
 
         });
 
     } else {
 
     } else {
         console.log("FlickrUserH: jQuery not detected");
+
         console.log("FlickrUserH2: jQuery not detected");
 
     }
 
     }
 
};
 
};
 
</script>
 
</script>
 
<!-- End of Flickr Badge --></includeonly>
 
<!-- End of Flickr Badge --></includeonly>

Revision as of 14:51, 12 February 2023

Using this widget

This widget was written by Steve Rainwater to replace the now deprecated Flickr badges that showed a Flickr user's most recent photos.

To add a horizontal flickr stream badge to your profile, drop in this code, replaced the user ID with your Flickr User ID. You can find your Flickr ID by going to flickr home page and looking for small orange RSS "subscribe" icon on the lower left. Look for "id=" in the URL it links to and copy everything between the '=' to '&' :

{{#widget:FlickrUserH2|user=8386148@N06}}

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:FlickrUserH2 article.