• Home
  • About
  • Help
  • Testimonials
  • How Tos
  • Galleries
  • Slideshows
  • Galleria
  • Plugin News
  • Flickr News

Customizing a Flickr Slideshow

April 8, 2010 by Russell 34 Comments

  • Share
  • +1
  • Share
  • Pin It
  • Buffer

The supplied CSS settings for the Flickr Slideshow work fine on a normally sized site with a content areas of at least 550px and a sidebar of at least 240px.

However, you do have the ability to control fonts, sizes, styles, margin and paddings by overriding the settings in the Slickr Flickr CSS file. The CSS file is named slickr-flickr.css and is located in the Slickr Flickr plugin directory. Please note that if you change this you are doing so at your own risk. However that risk is quite small as if things get messed up you can always just reinstall the Slickr Flickr plugin to get back the original settings. Please note that if you change this file and then upgrade Slickr Flickr then the new file will overwrite the old and any changes will be lost so it is best not to put your customizations in this file.

Better than changing the file directly is to add the overrides in your theme’s CSS file. The name and location of this file will vary according to the theme but it will typically be style.css or custom.css

This is best explained by an example.

Let’s say you have a narrow sidebar (less than 240px). Therefore the ‘small’ Flickr Photos which are up to 240 pixels wide will not fit. Therefore what you need to is scale the slideshow to fit.

You can do this by loging in as admin, clicking on the Theme and then Editor and selecting the CSS file, probably called styles.css

Then add the following line to the CSS to scale (reduce) the image to 100% of the width of the sidebar (Thanks to Bap and Robin for their input on this. This solution will work for all main browsers except IE5 and IE6: that is about 95% of users)

[css]
.slickr-flickr-slideshow.landscape.small div img { max-width: 100% }
[/css]

Now for Thesis Theme Users Only . . .

If you are running the Thesis theme then put this change into custom.css and not style.css

[css]
.custom .slickr-flickr-slideshow.landscape.small div img { max-width: 100% }
[/css]

Remember to include the .custom at the beginning of the line.

Also Thesis allows you to get even more specific so if you want to customize a particular slideshow on a specific page then Thesis lets you do this. So, if the page is has a URL of my-example then the CSS change is

[css]
.my-example .slickr-flickr-slideshow.landscape.small div img { max-width: 100% }
[/css]

If you want to find out more about Thesis then check out Ten Reasons To Use the WordPress Thesis Theme

Updated by Russell.

Filed Under: Flickr How To, Flickr Slideshows Tagged With: customizations, flickr tutorial

Comments

  1. Russell says

    August 14, 2015 at 7:47 am

    Hi David,

    Have you tried adding class=”alignright” to the slickr-flickr command?

    Here is an example – http://www.slickrflickr.com/2906/slickr-flickr-2-3-release/

  2. David Pardo says

    August 14, 2015 at 2:34 am

    Hi, loving the plugin, but having a hard time getting the slideshow to float right in the main body of text. I edited the css style sheet, but can’t get the text to wrap, and can’t seem to find anyone else asking this question. Any thoughts?

  3. Russell says

    November 11, 2011 at 2:22 am

    Dennis, Make sure you are using size=”small” and then use “bottom” to reduce the amount of white space. For example, bottom=”-20″ (minus 20) reduces the bottom margin by 20px

  4. dennis says

    November 1, 2011 at 6:21 pm

    1 got one question, I placed the slideshow in my sidebar, everything works great, but I got a lot of space under the picture, how can I this fixed?

  5. Liz says

    October 16, 2011 at 2:07 pm

    Hi Dave

    No-one has asked for this feature before and it’s a great idea. We’ll add it to the list of suggestions for new features. Thanks very much.
    Liz

  6. David Gillett says

    October 16, 2011 at 10:11 am

    Is there any plans to include the ability to search for the title or description? It’s “text” within the Flickr API.
    Thanks,
    Dave

  7. Russell says

    April 16, 2011 at 2:03 pm

    Hi Walter,

    Thanks for your feedback.

    Please see the video tutorial http://www.slickrflickr.com/2126/improved-flickr-slideshow-sizing-and-scaling/ for a way to resize without changing CSS. The images should resize according to the size of the container.

    Please go to http://www.slickrflickr.com/upgrade to upgrade to Slickr Flickr Pro. The Pro version allows you to set the “height” and “width” parameters explicitly which is useful if you have non-standard images (i.e 16×9 or square instead of the typical 4×3 and 3×4)

    http://wordpress.org/extend/plugins/slickr-flickr/ is showing version 1.27 – next release will be 1.28 in a weeks time.

    Regards

    Russell

  8. Walter says

    April 16, 2011 at 1:45 pm

    Hi Russell

    Great plugin! It works (almost) perfectly for me 😉

    I adapted the CSS slightly in order for the medium images to fit into my layout. It looks fine,

    i.e. the width fits into my 440 pixel layout. But the landscape images are still larger, hence the horizontal scrollbar. How can I reduce the actual image size? Do I need the pro version for that?

    How can I upgrade to the pro version, for that matter?

    Gaging from your site the current version is 1.27, on WP.org we still run 1.24?

    Thanks for any support!

  9. Russell says

    January 6, 2011 at 2:27 pm

    Hi Robin,

    Thanks for your comments – you are right I will update the tutorial as both you and Bap suggest.

    My hesitation before was that the max-width, max-height was not supported in Internet Explorer 6 but now IE6 is down to 4.4% of the market I think I should go ahead.

    Regards

    Russell

  10. Robin says

    January 6, 2011 at 2:19 pm

    I was getting frustrated because the photos in my slideshow widget were stretching and getting out of proportion. (I have a lot of non-standard size photos), but with Bap’s tip this plug-in now works beautifully. Thank you all!

    Maybe you should add/replace the line in your tutorial, Russell?
    .slickr-flickr-slideshow.landscape.small div img { max-width: 100% }

  11. Russell says

    January 2, 2011 at 7:33 pm

    Hi Matt,

    Unfortunately Slickr Flickr does not have a carousel display similar to slideoo – it just has a gallery, a galleria and a slideshow.

    I can suggest the Featured Content Gallery WordPress plugin, where are each image acts as a link through to a featured post.

    The ‘real estate’ that is in the header on your home page is ‘prime’ and therefore should be promoting your products and hence these should be clickable images and not just passive Flickr photos.

    You can see an example of Featured Content Gallery at http://www.cabotshores.com

    Hope that helps

    Regards
    Russell

  12. matt says

    January 2, 2011 at 7:04 pm

    I have used slideoo with my flickr account for a while now and I thought it worked relatively well. If you take a look at my site (in construction) you will see a blank space under my logo and company name. This was once about 4-5 pictures wide and the pics would change each time I hit refresh. I don’t know what happened to slideoo, but it is gone now. I’m hoping I can use your plug in to display several pics at once across the top of my wordpress page. Can you show me how to do this if it is possible and how I can get the code so I can place it in my site settings under custom header area? I would greatly appreciate any assistance you could give me.

  13. Leyla says

    November 25, 2010 at 10:33 am

    thank you very much, Russell!!
    It works!

  14. Russell says

    November 24, 2010 at 11:08 pm

    Hi Leyla,

    Thanks for your feedback on Slickr Flickr.

    There is not a setting to center the slideshow however you can do it by adding a line of CSS to either the plugins’s slickr-flickr.css file or your theme’s CSS file

    [css]
    .slickr-flickr-slideshow div { text-align: center; }
    [/css]

    If you make the change to the slickr-flickr.css file then your update will get overwritten when you next upgrade the plugin. I therefore recommend you make the change to one of your theme’s CSS files instead (e.g http://www.thekedbl.com/wp-content/themes/coraline/style.css)

    The slideshow will look like this:

    Centered Slideshow

  15. Leyla says

    November 24, 2010 at 10:25 pm

    Hi Russell,
    plugin is great, thank you. I was searching for the good alternative to nextgen as it worked quite clumsy at my blog, and found slickr much better. But the problem with the center position of different types (vertical/horizontal) is still exists. Please, see what I am talking about here http://www.thekedbl.com/?page_id=846 Maybe you could help me to get rid of left-positioning of vertical photos in the slideshow. I kindly appreciate your help!

  16. Russell says

    November 19, 2010 at 6:56 am

    Hi Dave,

    Thanks fpr the feedback.

    Line 13 of the file slickr-flickr.js has the transition time of 500 milliseconds. Maybe try replacing this by 1000?

    I can look at adding this as a parameter in a later release

    Regards

    Russell

  17. Dave says

    November 19, 2010 at 1:01 am

    Fantastic Plugin! Thanks for all of your work on it.

    One question– is there anyway to control the speed of the transitions? I know how to change the duration of each picture, but I would really like to slow down the transitions on a project I am working on. Any thoughts would be appreciated!

  18. Russell says

    October 7, 2010 at 9:22 am

    Glad it is working for you. I would appreciate it if you would give the Slickr Flickr plugin a rating (a good one 😉 at http://wordpress.org/extend/plugins/slickr-flickr/ Thanks. Russell

  19. HD says

    October 7, 2010 at 12:19 am

    you probably hear this a lot but you are awesome! Worked like a charm. Thanks for your help!

  20. Russell says

    October 6, 2010 at 9:09 am

    Hi HD,
    The issue is down to a line in your theme’s stylesheet http://cornerofficemusic.com/wp-content/themes/K21.0.3/styles/Custom/custom1.css

    .secondary div { margin: 20px 0px 0px; padding: 0px; position: relative; }

    This line is overriding the plugin stylesheet and causes the slides to appear one below another.

    I think you can fix this by adding the following line to your theme stylesheet :

    .secondary .slickr-flickr-slideshow div { position: absolute; }

  21. HD says

    October 6, 2010 at 2:08 am

    The plugin is amazing! I love it! But I am currently having problems with it. I have the plugin installed on my website and for some reason the second picture always shifts down and on the third picture there is a blank space which also shifts my entire sidebar down. I do not know why this happens. Any help would be much appreciated.

  22. Karma says

    September 2, 2010 at 6:49 am

    Thanks for your reply Russell. Naturally I tried the fix again this morning now it works… not sure why I could not get to to work yesterday. Sorry about that. However, I still get that “inactive” message on many of the slickr-flickr files if I access them though the edit plugin panel in WordPress (even though they are obviously not inactive since the fix works, so don’t waste any time on this). Just an FYI… this is what I see: http://www.electronicmoon.com/downloads/emscreen.jpg

    Thanks a lot for a very nice plugin!

  23. Russell says

    September 1, 2010 at 2:57 pm

    Hi Karma,

    I am bit confused by what you mean by the css file being inactive – I am not seeing any message of this type on my WordPress installation for either active or inactive plugins. Wher edo you see this message.

    As regards the CSS you can put it in either the slickr-flickr.css file or your theme’s CSS file. The latter is probably better since it will not be overwritten when the plugin is upgraded. For example, iIf you happen do be using the Thesis theme that you would put it in the custom.css file.

  24. Karma says

    September 1, 2010 at 11:38 am

    I installed the plugin today, the “slickr-flickr.css” file is listed as inactive when you select it in the admin menu… so where should the code go for narrow sidebars? Thansk!!

  25. Russell says

    August 29, 2010 at 5:21 pm

    Bap,

    Thanks for your comment which is technically correct as a general rule.

    However, I used width rather than max-width in this example because a) the example specifically deals with scenarios where 100% scaling reduces the sizes of the image to the full width of the sidebar; and b) because max-width does work reliably in Internet Explorer see http://reference.sitepoint.com/css/max-width

  26. Bap says

    August 29, 2010 at 3:13 pm

    Dan : to avoid stretching images you should use “max-width”/”max-height” instead of just “width”/”height”
    By doing this only images larger than the specified dimension are reduced

    The example given would then become :
    .slickr-flickr-slideshow.landscape.small div img { max-width: 100% }

  27. Russell says

    July 21, 2010 at 3:50 pm

    Hi Garrett

    In a recent release I consolidated the bulk of the CSS into a single file slickr-flickr.css.

    Apologies for not updating this post with the correct CSS file details – will do so now

    Russell

  28. Garrett says

    July 21, 2010 at 2:39 pm

    Hi, I am trying to do the css tweak on version 1.13, the newest version, but there is no slickr-flickr slideshow.

    Here is what is available:

    Plugin Files

    * slickr-flickr/slickr-flickr.php
    * slickr-flickr/galleria/galleria.css
    * slickr-flickr/galleria/galleria.noconflict.js
    * slickr-flickr/galleria/jquery.galleria.js
    * slickr-flickr/flickr.php
    * slickr-flickr/readme.txt
    * slickr-flickr/shadowbox/shadowbox.js
    * slickr-flickr/shadowbox/shadowbox.css
    * slickr-flickr/slickr-flickr-admin.php
    * slickr-flickr/slickr-flickr-admin.css
    * slickr-flickr/lightbox-slideshow/index.html
    * slickr-flickr/lightbox-slideshow/lightbox-slideshow.js
    * slickr-flickr/lightbox-slideshow/lightbox.css
    * slickr-flickr/lightbox/index.htm
    * slickr-flickr/slickr-flickr-admin.js
    * slickr-flickr/slickr-flickr.css
    * slickr-flickr/slickr-flickr.js
    * slickr-flickr/slickr-flickr-public.php

    Is it the lightbox slideshow?

  29. Russell says

    June 16, 2010 at 11:11 am

    Hi Dan,

    Please let me know the URL of the page that contains the slideshow, your Flickr ID and the tag you are using and I will take a look at this.

    Regards

    Russell

  30. Dan says

    June 16, 2010 at 10:52 am

    Hi All,

    I have added the custom CSS tweak shown above to my Thesis custom files and it works a treat – except that the images are stretch to 100% but the height isn’t adjusting to match!

    Does anybody know how I can do this? I have tried adding height: 100%; but this doesn’t do it.

    Help!??

  31. Liz says

    May 19, 2010 at 10:22 am

    Hi There Whitney.

    We’ve taken a look at your blog and see you have a nice 2×2 gallery of Slickr Flickr thumbnails in the sidebar. As for your specific question, Slickr Flickr cannot at this time, make thumbnails at a different size to the ones it currently produces. However, we would consider adding this functionality in a later release if you can define it more for us. For example, what size would the thumbnails need to be 200px x 200px?

    On another note your blog looks like it has a small bug in it. When we looked, the sidebar was way down on the bottom right, and we had to scroll for a long time to see the Slickr Flickr Gallery. That is not right. When we looked at the code on your page, it seems that the other flickr plugin you are using – something called flickr thumbnails photostream – is producing invalid HTML.

    Now this may not be the cause of the problem you are having with the right hand sidebar, but I would start by temporarily disabling that plugin to see if the sidebar issue goes away. If it does, contact the developer of that plugin and ask for a fix. If removing the plugin does not remove the sidebar issue, then you will have to investigate further.

    Liz

  32. Whitney Details says

    May 19, 2010 at 4:33 am

    Hi, hoping you can help us as we are complete newbs to this stuff. We have a widget installed for the sidebar with a gallery of thumbnails (the small square size) and we would much prefer for the sidebar gallery to be one strip of larger square thumbnails instead of the two side-by-side. What code would we add to the slickr flickr code to make this happen? If you can look at our site, the part we are talking about is on the home page on the right in the “student theater festival” gallery. Thank you so much for your help. This tutorial has been awesome!
    .-= Whitney Details´s last blog ..live from the studio =-.

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest News

Slickr Flickr v2.8 was released on 8th February 2021. This supports WordPress 5.6, PHP 7.4 and has internationalisation support.

Small Slideshow In Widget

Rocco as a Stole

Joined At The Lughole

A Greener Way To See Life Down Under

You Can Almost See The Sea From Here

No Way!

A Girl Can Never Have Too Many Blankets

Does My Head Look Big In This?

Summertime and The Livin' is EZ

Somebody dropped a Sandwich?

Smile And The Whole World Smiles With You

Rocco "Downie" Junior

Slickr Flickr Support

  • Get Support with Slickr Flickr Pro
  • Slickr Flickr Documentation
  • Slickr Flickr FAQ
  • Slickr Flickr Issues
  • Suggest Ideas
  • Flickr API and HTTPS

Gallery In Widget

New To Flickr and are missing photos?

Just a reminder that for new Flickr accounts it takes 3-5 working days after you upload your fifth photo before you photos are made available by Flickr for searches and also to Slickr Flickr.

For more information see the discussion of the new Flickr account rules on the Flickr forum.

Check the status of your Flickr account by logging in to Flickr and then visiting at http://www.flickr.com/account/

Recent Posts

  • Slickr Flickr 2.8 Release
  • Slickr Flickr 2.7 Release
  • Slickr Flickr 2.6 Release
  • Slickr Flickr 2.5 Release
  • Flickr Search By Text

Recent Comments

  • MK on Slickr Flickr 2.8 Release
  • Russell on How To Display a Flickr Photoset?
  • Russell on Where do I find my Flickr ID

Tags

customizations Flickr API flickr gallery flickr photo gallery Flickr RSS flickr slideshow flickr tutorial galleria lightbox missing latest photos Newsfeed Photo Descriptions Photoset plugin conflict Portrait sorting photos tagged phots thumbnail
  • Contact
  • Donate
  • Slickr Flickr v2.7
Copyright © 2009-2025 DIYWebmastery
PO Box 85 · Hatherleigh · Okehampton · Devon · EX20 4WH · UK
  • Share
  • +1
  • Share
  • Pin It
  • Buffer
  • 0