WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress-media-flickr: add new size (3 posts)

  1. deadlyknitshade
    Member
    Posted 2 years ago #

    Hi

    Anyone know how to add the new 640x320 size to this plugin?

    Thanks.

  2. T17i
    Member
    Posted 2 years ago #

    yup,

    If you want use new size. You find the label returned by the API function: flickr.photos.getSizes
    Its "medium 640"

    You need add in the js:

    this.sizes['Medium 640'] = 'size_z';

    Add the radio input in the media-flickr.php:

    <div id="div_size_z"><input type="radio" id="size_z" name="size" value="size_z" /> <label for="size_z"><?php _e('Medium 640', 'wp-media-flickr') ?> (640 x 480)</label></div>

    that all

  3. deadlyknitshade
    Member
    Posted 2 years ago #

    That works perfectly!

    Thanks so much. You rule!!!

Topic Closed

This topic has been closed to new replies.

About this Topic