I am trying to display certain sets on my flickr page. It's semi working, but only the last set is correctly displaying the image/set id link. The others are displaying as broken.

I have the flickr sets set to different lines with no punctuation. IE:
set01
set02
set03

You can see the example at: http://www.capitalcitybikefest.com/test

Anyone else having this issue?

Thanks!

CommentFileSizeAuthor
#5 fixed-display-set-2754739-5.patch1.35 KBmiteshmap
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aprilr created an issue. See original summary.

slipstreamer’s picture

I am having this issue as well - are we supposed to delimit the values in some way?

slipstreamer’s picture

In flickgallery.pages.inc on line 25 you could change the if statement to use commas placed at the end of each set instead of newlines which were not being picked up for me.

  // Get Flickr sets.
  if (variable_get('flickrgallery_displaysets_bool') == 1) {
    // If true, then select the flickrgallery_displaysets_values
	variable_get('flickrgallery_displaysets_values');	
    $array_set = explode(',', trim(variable_get('flickrgallery_displaysets_values')));
    foreach ($array_set as $key => $set) {
		$set = trim($set);
        $sets['photoset'][$key] = $f->photosets_getInfo($set);
    }
  }
  else {
    $sets = $f->photosets_getList($flickr_uid);
  }

set1,
set2,
set3

aprilr’s picture

Thank you so much! That worked perfectly!

miteshmap’s picture

Version: 7.x-3.0-beta3 » 7.x-3.x-dev
Status: Active » Fixed
FileSize
1.35 KB

  • miteshmap committed 13ffaa1 on 7.x-3.x
    Issue #2754739: Fixed Displaying Sets - Only last set image works
    

Status: Fixed » Closed (fixed)

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