WordPress.org

Ready to get started?Download WordPress

Forums

Flickr plug-in? (4 posts)

  1. dawg
    Member
    Posted 9 years ago #

    Ok I have added a flickr badge to my sidebar and the JS is ugly and now does not validate due to the flickr badge. I have seen that there is a flickr badge but it seems to be bloated as it is a rather large php file that replaces the JS.

    Looking for alternatives/suggestions on how to clean this up KISS style

  2. jpettit
    Member
    Posted 9 years ago #

    the JS should validate...just remember to change any ascii characters (such as &). if you generated the badge in 'raw' format you can do any kind of formatting you want using css.
    i posted some ideas at:
    http://www.pixies.ca/archives/2005/02/14/flickr-badge-formatting/

  3. Guymauve
    Member
    Posted 9 years ago #

    Hey - still being a newbie at this, I tried following your instructions for getting the Flickr badge to come up with a border, and justify/align left. At the moment, I have the "no style" option, plugged into my index.php. This gives me almot the look I'm after, but I'd like a border to offset the photos (and on a related note, how do I put borders around pictures in my posts?). Where is my style.css? I have wp-layout, but I'm not sure what the code should like there.

    Have a look: http://www.biglittleg.com/blog

    Nice layout for you site by the way. Inspiring.

  4. jpettit
    Member
    Posted 9 years ago #

    your flickr badge looks fine, but i can't find where/or if you have the CSS styling.
    you need to insert the .flickrimg code in your stylesheet (probably http://www.biglittleg.com/blog/wp-layout.css seems to be your 'style.css')
    try simple copying and pasting my .flickrimg code into that stylesheet and see what happens...then go with it from there.

    .flickrimg {border: 1px solid #ccc; padding:4px; margin:4px;}
    .flickrimg:hover {background: #6699CC;}

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags