I seem to be getting 20 photos maximum in my flickr-photoset pages. It'd be nice to have a way to specify the number of images returned from this query.

Comments

Anonymous’s picture

Sounds like a good idea, would anyone like to work on this ?

Anonymous’s picture

Title: Ability to define the number of images in the photoset query. » [PRIORITY 4] Ability to define the number of images in the photoset query.
lolandese’s picture

Title: [PRIORITY 4] Ability to define the number of images in the photoset query. » Ability to define an arbitrary number of images in the photoset and blocks
Version: 6.x-1.0-beta1 » 7.x-1.x-dev
Component: flickr_sets » flickr (main module)
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new6.57 KB

Patch attached for D7. Accepts any number from 1 to 99 to be set for the blocks and 1 to 999 for the photosets. It offers finer control than the select dropdown field that is currently used.

Furthermore the number of code lines is reduced.

lolandese’s picture

Status: Needs review » Fixed

Committed. See http://drupalcode.org/project/flickr.git/commitdiff/bfab048.

It includes also suggestions from Code Sniffer (drush dcs).

lolandese’s picture

Status: Fixed » Patch (to be ported)

To port to D6.

lolandese’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new8.72 KB

Patch for D6.

No validation on flickr blocks configuration field 'Show n photos', but without dramatic consequences. It seems to accept only numbers anyway.

lolandese’s picture

Patch for D6 with validation of block configuration field 'Show n photos'.

lolandese’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
StatusFileSize
new7.56 KB

D6 patch rerolled against latest dev.

lolandese’s picture

Status: Needs review » Reviewed & tested by the community

Tested with flickr_sets, flickr_filter and flickr_blocks. Works as expected, including validation of both on the block config as the module settings form.

For flickr_filter it needs a site clear cache before the number of images in a set changes. This is normal behaviour.

lolandese’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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