Flickr Block

Settings in block config to override defaults:

  • Minimum image width to display a title caption (3 digit positive integer)
  • Minimum image width to display date, location, photographer and optionally license info under the caption (3 digit positive integer)

Flickr Filter

Same as above but in the filter tag like:
[flickr-photo:id=7357144724, size=m, min-title=999, min-extra=999]

Note that setting a minimum width of 999 px to show data, actually suppresses it, as 0 px always shows it.

Comments

lolandese’s picture

Issue summary: View changes

Showing the description on Flickr of the photo on hover (the current behaviour) might in some cases be not desired.

Instead of adding yet another setting, we could make this dependent on whether the description is set to show when enlarging the image. They are most likely be set the same, if it were separate options.

lolandese’s picture

Status: Active » Needs review
StatusFileSize
new1.15 KB

Synchronizes the display of the Flickr description on hover with what is set to show when enlarging the image. The Flickr photo title is used if set to not show the description.

  • Commit e62d9bf on 7.x-1.x by lolandese:
    Issue #2258147 by lolandese: Synchronizes the display of the Flickr...
lolandese’s picture

lolandese’s picture

Status: Fixed » Active

To continue with the original feature request.

lolandese’s picture

Status: Active » Needs review
StatusFileSize
new8.13 KB

For the filter:
[flickr-photo:id=7357144724, size=m, mintitle=999, minmetadata=999]

To do: block config.

lolandese’s picture

Status: Needs review » Fixed
StatusFileSize
new57.69 KB

Attached patch allows setting a minimum image width to force or suppress both title and metadata in the photo caption of a block or album in the node body.

It also removed the code used to generate the favorites blocks, to make use of the flickr_album() function instead in flickr.inc.

Also the Flickr config page has been reorganized.

  • Commit a5afb52 on 7.x-1.x by lolandese:
    Issue #2258147 by lolandese: Allows setting a minimum image width to...
lolandese’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)
lolandese’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Patch (to be ported) » Fixed
StatusFileSize
new2.14 KB

We forgot that these parameters can be used also for single images. Thus:
[flickr-photo:id=7357144724, size=m, mintitle=999, minmetadata=999]

  • Commit ea70bc7 on 7.x-1.x by lolandese:
    Issue #2258147 by lolandese: Force or suppress caption elements also on...
lolandese’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)
lolandese’s picture

Status: Patch (to be ported) » Closed (won't fix)
lolandese’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Closed (won't fix) » Closed (fixed)

Setting this back to D7 and being 'fixed (closed)'.

Main reason is the fact that links to this issue show the status on hover without revealing the version (6 or 7). This might give the impression that the mentioned issue will not be solved, while in fact it is already fixed for the D7 version. 'Fixed (closed)' reflects the current status correctly for D7. 'Closed (won't fix)' is only valid for the minimally maintained D6 version of the module.