Hello!

I want to show images in the Medium 640 format but I do not know how.
[flickr-photo:id=4996601704,size=z] does not work.

Can you please help me?

Comments

wooldridge’s picture

Category: support » feature
Status: Active » Needs review
StatusFileSize
new918 bytes

I'm submitting a patch for the Drupal 7 version that adds the 'Medium 640' format to the flickr_photo_sizes() array, allowing a user to show this format with the 'z' size parameter. I also updated the README.txt file to add that parameter in the size list.

FallinHigh’s picture

i'm currently working on drupal 6 and tried the same as you did but it didn't work.. do you know why?

    '-' => array(
      'label' => 'Medium 500',
      'description' => t('500 pixels on longest side'),
    ),
    'z' => array(
      'label' => 'Medium 640',
      'description' => t('640 pixels on longest side'),
    ),
wooldridge’s picture

StatusFileSize
new852 bytes

The same changes worked for me in Drupal 6. Not sure if it's needed but I'm attaching a patch file for that as well.

@FallinHigh, not sure what your problem might be, but I had to disable and then re-enable my Flickr module to get the change to take.

Also, make sure you leave the '-' label as 'Medium' (do not change it to 'Medium 500'). The labels need to exactly match the size labels that Flickr returns. You can view these labels via this page:

http://www.flickr.com/services/api/explore/?method=flickr.photos.getSizes

dan_aka_jack’s picture

The following issue is very similar (identical?): http://drupal.org/node/1305090

Anonymous’s picture

Assigned: Unassigned »
lolandese’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Needs review » Fixed

This is now in the D7 dev version. If you still need it for D6, open a new issue with a request to back port.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.