We recently updated to flickr-7.x-1.6 (multi-site setup) due to the fact that the galleries were no longer being displayed on our sites (probably due to Flickr API going SSL). The update appeared to also reset the Item Type from 'Photoset', back to 'Photo' in all our 'Image Gallery' nodes and we had to change them all back, just so it would display images. However, my issue is that our galleries now only display 6 images each and even if I specify in the flickr module configuration "Number of photos per set", any higher number than the default which is 6 (e.g., 24) and clear the cache, it still only displays 6 images in total even though the flickr album clearly has more images. Any reason why this would happen?

Comments

lolandese’s picture

Component: flickr (main module) » flickr_field

I confirm the issue. This must have slipped in with the latest commit before releasing 7.x-1.6 at #2293367: Fine grain number of sets and number of photos per set.

I will provide a patch. Meanwhile to solve it:

  • Enable the submodule Flickr Block.
  • Go to admin/config/media/flickr.
  • Under BLOCK SETTINGS change the field Number of photos per set to the desired number. This is the setting that also controls the number in a photoset for Flickr Field (for now).

Thanks for reporting.

kevgrob’s picture

Thanks a bunch for the quick fix, we definitely appreciate this!

jay_m’s picture

Fixed the issue for me as well. Thanks for the fix.

tomalaak’s picture

This solution also worked for me. The only problem left is that you can set this to a maximum of 99. If you have more than 100 photos in an album (which I have), it still isn't the best solution.

I have this problem in the D7-version of this module.

tomalaak’s picture

Category: Support request » Bug report

The patch is needed, because you can only have a maximum of 99 photos with the workaround described in the comments for this issue.

lolandese’s picture

..you can only have a maximum of 99 photos..

See if #2299833: More than 99 images per page? helps there.

Thanks.

hoegrammer’s picture

Setting the number of photos per set to a number less than 6 is also ignored.

lolandese’s picture

Version: 7.x-1.6 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new1.97 KB
webservant316’s picture

Same problem observed here. Enabling Flickr blocks and setting the photo set number there worked for me. Of course eager to see a good fix pushed to dev.

I would be glad to test the patch, but before I do...How can we also control the size of the photo set thumbnails? I don't see a place to do that for Flick Fields on the admin page, the field definition, or the page field instance. Seems like it would be good to provide control for all the typical settings.

Sorry, I found the setting in the content type display options. I had set it to 'small' which I assumed was the same as 's' in the Flickr admin page. apparently not, but when I changed it to 'thunbnail' I got what I wanted.

lolandese’s picture

Status: Needs review » Reviewed & tested by the community

I had set it to 'small' which I assumed was the same as 's' in the Flickr admin page. apparently not, ..

Find a table of used suffixes and label names by Flickr at https://www.drupal.org/node/2170535#sizes.

Of course eager to see a good fix pushed to dev.

.. but when I changed it to 'thunbnail' I got what I wanted.

I guess we can set it to RTBC then.

Thanks for testing.

lolandese’s picture

Status: Reviewed & tested by the community » Needs review

@webservant316

I don't understand if you applied and tested the provided patch. Can you clarify?

Thanks.

webservant316’s picture

Actually I did not apply the patch, but only enabled Flickr Blocks and changed the setting there. I can test your patch tomorrow and report back.

webservant316’s picture

#8 patch applied cleanly and works. thanks.

lolandese’s picture

Status: Needs review » Reviewed & tested by the community

Thanks.

webservant316’s picture

can you push this to dev?

lolandese’s picture

Status: Reviewed & tested by the community » Fixed

  • lolandese committed 6832fb1 on 7.x-1.x
    Issue #2298973 by webservant316, kevgrob: More fine grained settings for...

Status: Fixed » Closed (fixed)

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

bloomt’s picture

Component: flickr_field » flickr (main module)
Status: Closed (fixed) » Active

I am also only getting 6 images from the photoset to show and the patch does not apply cleanly. Can someone help me out with this?

lolandese’s picture

Status: Active » Postponed (maintainer needs more info)

The patch doesn't apply because it has already been committed. Just upgrade to the latest stable or dev version and you should be good to go.

If you are using one of these versions and still have problems, try to describe the steps in the demo sandbox to reproduce the issue (block settings, used Flickr Filter shortcode, etc.). Is it an album created with Flickr Blocks, Flickr Filter or Flickr Field (you changed the component of the issue)? Is the Flickr Sets submodule enabled?

If it is Flickr Field you have problems with, you find the setting at:
admin/config/media/flickr >> PHOTOSET OPTIONS >> Number of photos per set *

In that case the Flickr Sets submodule must be enabled.

Thanks.

lolandese’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Returning to previous status due to lack of response. If still having trouble, open a support request.