[Plugin: WordPress Media Flickr] Customize photo size? (3 posts)

  1. nedward
    Posted 8 years ago #

    I love this plugin, thank you very much! I see that you have support for image alignment – such as left, center, etc. But, how about photo size?

    I think that it is as easy as changing "…_m.jpg" to "….jpg", or "…_o.jpg".


  2. alternatekev
    Posted 8 years ago #

    I just figured this out because I need to show the medium-size image. You'll need to be a little comfortable with minor editing of 1 line in a Javascript file.

    1. Use your FTP client to find the file "/wp-content/plugins/wordpress-media-flickr/wp-media-flickr.js"

    2. Download the file to your hard drive and open it in a text editor.

    3. Locate line #95, it should look like this:


    4. Remove the "_m" from the line of code so that it looks like this:


    5. Save the file and re-upload it to your server. Verify by adding a test image to a test post and previewing it in your site's template. It should now be the size you want!

    Removing the _m gives you the 500px wide image, so you can play with other suffixes to get the image size you're looking for.

  3. yujiod
    Posted 8 years ago #

    This function included version 1.0.2.
    Enjoy, thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic