I'm using flickr filter to insert slideshows into the body of nodes. I'm using size='y' to get a responsive slideshow

A few things I noticed:

-Clicking on the photo in a slideshow does not open the image locally in a colorbox, even though I have configured it to do so. Colorboxes do work with other sizes (ie, non-slideshows). Is that something that can be configured or is this by design?

-clicking the fullscreen option in the slideshow does nothing (apparently). No errors in the console. I'm using a bootstrap subtheme, if that make any difference.

-clicking an image take me directly to flickr.com. However, once there, if you click the navigation buttons forward and back, you get other images outside the photoset. I can't seem to determine the order, but I get all kinds of images, not just the ones in my designated photoset.

Any ideas on the above?

Comments

lolandese’s picture

Clicking on the photo in a slideshow does not open the image locally in a colorbox..

The slideshow is an embedded script provided by Flickr, so not much we can do about the behavior. As a feature request we have #2258005: Slideshow that takes Flickr tags, but still we think that a full screen toggle is preferred over opening a slideshow image in Colorbox. You could also consider using the autoplay function of Colorbox itself but that only starts after opening it.

clicking the full screen option in the slideshow does nothing (apparently).

I can confirm this in Chrome. Tried with http://lolandese.altervista.org/node/5. Firefox has the expected behavior. In any case, this functionality is not offered directly by the module code but by the Flickr script. I can only advise to use the other slideshow (size=x).

clicking an image take me directly to flickr.com. However, once there, if you click the navigation buttons forward and back, you get other images outside the photoset.

Again, we can't control where the slideshow script directs, let alone the behavior on Flickr.com. The other slideshow (size=x) links to the set on Flickr and might be more what you want. Once we solve #2253871: Flickr data as nodes we would have a lot more flexibility to create our own slideshows with Views but still embedding it in the node body is another story still.

Practically all of your issues are related to functionality provided by Flickr. I propose you add the issues to an existing topic in the Flickr API group or open new ones there. If you do, don't forget to post the backlinks here.

meecect’s picture

Thanks for the responses. I discovered most of this out for myself while playing with the module last night.

As a stop gap, I found a good site that generates a more usable, responsive, flickr slideshow:

http://flickrit.com/

It had most of the features I was looking for. I hacked this module to spit out the required html to support flickrit, instead of the flickr.com responsive slideshow. It worked well.

Do you think it would be a good addition to this module? I'm thinking of a checkbox to support a flickrit slideshow, with perhaps some admin config options for slideshow details.

Or I could put it in a flickr_flickrt companion module, or I could just add it to a new module called flickrit. For me, I'm only really interested in the input filter part, and perhaps a ckeditor button to easily insert the slideshows. I see there is currently an issue in the queue regarding that last part.

Anyway, here is the page I created after hacking the module to support flickrit, so yo can see the slideshow that gets generated.

http://potowski.org/content/page/paria-canyon

meecect’s picture

I do agree that the better long term option is for this module to generate its own markup so we can add whatever features and styling we want.

I would also suggest a large cleanup of the existing code. There is way too much markup in the module now, imo, and could really use some refactoring to use theme functions instead, and those theme functions should leverage tpl files so that sites can easily override the output, either in template overrides or in preprocess/hook_theme functions.

lolandese’s picture

I hacked this module to spit out the required html to support flickrit, instead of the flickr.com responsive slideshow. It worked well.

Can you provide a patch or a zip file of the hacked module?

.. could really use some refactoring to use theme functions instead, and those theme functions should leverage tpl files so that sites can easily override the output, either in template overrides or in preprocess/hook_theme functions.

True. It might be good to open that as a separate feature request. Patches are welcome.

Anyway, here is the page I created after hacking the module to support flickrit, so yo can see the slideshow that gets generated.

http://potowski.org/content/page/paria-canyon

Both Chrome and Firefox show the slideshow but without any photos. Probably still work in progress?

Thanks.

meecect’s picture

StatusFileSize
new523.05 KB

I need to clean up the code a bit but yes, I can roll a a patch.

I just opened the page in a chrome incognito window, and it worked for me. I'm not sure what is wrong.

http://potowski.org/content/page/paria-canyon

Here is what I see:

lolandese’s picture

StatusFileSize
new79.07 KB

This is what I see. Flash is enabled and working with the other Flickr slideshows. Maybe privacy settings are set wrong on Flickr.com for these photos? That should be covered by opening it in the incognito window though. Strange. Furthermore I can access the set at https://www.flickr.com/photos/125648976@N05/sets/72157649218714607.

Screenshot

meecect’s picture

StatusFileSize
new175.03 KB

That is weird. The slideshow doesn't use flash, and I can see images showing up even on my phone. See attached. Are you located in the us?

lolandese’s picture

Are you located in the us?

No, Where might limited access based on Geo IP come into play?

meecect’s picture

It's the only thing I could think of. I checked in multiple browsers, multiple devices, multiple people, multiple Internet access methods. The only remaining thing was geolocation. Maybe Flickr or flickrit has a terms of service they must abide by that eliminates distribution outside the U.S. ? It's just a wild guess.

Or maybe that is a Flickr album setting. I'll check the Flickr side and review the terms in flickrit.

lolandese’s picture

The sample slideshow on their website. I wrote them a mail linking to this issue. On my Android phone it's working. The problem seems to narrow down to the OS (Ubuntu 12.04LTS)??? Would be pretty weird.

Flickit

This is what I wrote:

We need some help regarding issues with your slideshow. See https://www.drupal.org/node/2487686#comment-9918962.

OS: Ubuntu 12.04LTS
Chromium Version 37.0.2062.120 Ubuntu 12.04 (281580) (64-bit)
Chrome Version 42.0.2311.135 (64-bit)
Firefox 37.0.2.
Javascript enabled on all mentioned browsers.
Location: Egypt

lolandese’s picture

Status: Active » Closed (works as designed)

The status change to 'Works as designed' only concerns the module code.

The Flickrit service seems to have issues with Ubuntu 12.04LTS independent from the browser (Chromium, Chrome, Mozilla). See the screenshot of the sample above.

In any case it is not integrated (yet) with the Drupal Flickr module.

Added 'Move markup to theme functions/template' to #2227019: Reduce code, break up big functions and move markup to theme functions/templates.

Thanks for reporting.