Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Before starting on a port to D8, we would prefer to see some D7 issues fixed:
- #2235215: Releasing sub-modules independently: Also because it allows to port to D8 in pieces which facilitates the task. Includes #2096881: Use a pager on a photoset.
- #2265151: Merge the two Flickr field types into one: Also the related #1170010: Parse the user id (nsid) and photo/set id from the Flickr page URL.
- #2227019: Reduce code, break up big functions and move markup to theme functions/templates: Less code means less to convert, but more importantly probably also code simplification.
These issues should get priority as it gets time to start working on a D8 branch. To start Flickr Filter and Flickr Blocks get perceived as the most used submodules, but we don't have hard data to sustain that. It would also be easiest as they both use the same function to generate albums. NOW THEY DO, see https://www.drupal.org/node/2289797#album.
Comments
Comment #1
lolandese CreditAttribution: lolandese commentedComment #2
lolandese CreditAttribution: lolandese commentedComment #3
lolandese CreditAttribution: lolandese commentedPlan of action:
Comment #4
lolandese CreditAttribution: lolandese commentedToo much markup in the D7 module now. To do some refactoring to use theme functions and/or templates instead.
Comment #5
lolandese CreditAttribution: lolandese commentedComment #6
lolandese CreditAttribution: lolandese commentedWaiting for A plan for media management in Drupal 8 | Dries Buytaert to be cristalized. Expected for Drupal > 8.4.
Comment #7
kurageart CreditAttribution: kurageart as a volunteer commentedAny good news?
I'm still on drupal 7 mostly for this module.
Tried drupal 8 media flickr, nice but I like way better to just display a full gallery but too much time consuming for being in real use (You're supposed to embed any single image 1 by 1).
Tried a new version of wordpress, but I guess, coming from drupal i'm quite spoiled with freedom, so it's quite hard to adapt myselft to those wordpress messy and expensive black boxes
Comment #8
lolandese CreditAttribution: lolandese commentedHi Claudio,
We've seen that Yahoo! pulled the plug out of other products like Delicious and recently the Yahoo!Finance API and would not be surprised the same thing could happen also to Flickr.
We consider moving the module to D8 once we have more certainty on:
Comment #9
lolandese CreditAttribution: lolandese commentedTo stimulate others to invest time in a D7 to D8 conversion, I will transfer ownership of the module to anyone that pulls off a working Drupal 8 version (even only for the Flickr Filter functionality). See #2938719: Seeking new maintainer.
Comment #10
lolandese CreditAttribution: lolandese commentedFor Drupal 8 for now we recommend to use the Media Entity Flickr module.
Comment #11
dakku CreditAttribution: dakku as a volunteer commentedHI @lolandese
Thank you for your great work in keeping this module going, and cheers for the shoutout to my media_entity_flickr module.
I would be interested in collaborating on porting this module over to D8 and perhaps join forces.
Do you have a roadmap of what functionality should get ported over to D8?
Comment #12
lolandese CreditAttribution: lolandese commentedOnly the Flickr Filter functionality. With that, a site builder can build also the needed blocks.
I have added you as a maintainer with all permissions as you have already done some good commits on the project in the past.
Thanks. Just go ahead with a D8 branch as you feel is right. Once you have a working D8 version I will be glad the hand you over ownership of the module. See https://www.drupal.org/project/flickr/issues/2938719.
Comment #13
dakku CreditAttribution: dakku as a volunteer commented@lolandese thank you. I made a fork to github and started the D8 port, if anyone wants to collaborate at:
https://github.com/dakkusingh/flickr and https://www.drupal.org/project/flickr_api
We will slowly port over the existing functionality with a clean slate.
Comment #14
dakku CreditAttribution: dakku as a volunteer commentedComment #15
dakku CreditAttribution: dakku as a volunteer commentedThere is a dev release of the module if anyone wants to try it out. We have got photosets / albums implemented. Try with this example embed code..
[flickr-photoset:id=72157628761567637, size=n, num=20]
Comment #16
lolandese CreditAttribution: lolandese commentedTested from a functionality perspective, I confirm it does work with the provided embedding code for a photoset and also for a single image. Nice photo, by the way. I also positively tested if embedded Flickr photos are never wider than the region they are in (responsive by default). Also, photosets are dealt with responsively.
Obviously putting the Flickr API part into a separate module makes a lot of sense. I found your issue #2869439: Port to Drupal 8 and indeed it would make more sense if you also could take over ownership of that module instead, however it is not that important as probably they have no intention porting that to D8. I would just add a comment there, linking to your module so anyone reading that issue is pointed to what they are probably looking for.
Below I will be taking the above-mentioned MVP starting with a version that includes only the basic Flickr Filter functionality and see how your work so far performs against a kind of own interpretation of the MoSCoW method.
Must have
We have a working module now for the Drupal 8 version, so releasing an Alpha version was justified. Bot single images and photosets from Flickr can be embedded and result in an expected HTML output. This issue can be considered RTBC now.
Not critical but essential:
Should have
Not having a migration path is in our case not that important as the used tags in a node body or custom block would work out of the box if a D8 migration would be performed. For this, it was a good decision to not alter the used filter syntax in any way. Obviously, the above two Should have's would be necessary to provide migrating sites with the essential expected output as on their D7 site, for the Flickr Filter at least.
Could have
Won't have (this time)
After you address the Should have's above, feel free to apply to take over ownership as described in #2938719: Seeking new maintainer ..
.. and thanks for your fantastic work so far.
Comment #17
dakku CreditAttribution: dakku as a volunteer commentedHi @lolandese..
Thank you for your initial work, that provided the motivation for much of this port.. although a lot of your d7 code is recycled into d8, we have essentially got a fresh reboot and architecture overhaul to D8 OOP.
The initial release is a very very quick port to lay the MVP foundations. There is much more to come.. Hopefully this provides an accelerated pathway for us to implement and improve.
I will go through your feedback and forge a roadmap, so it's easier for others to collaborate on tasks. I should be able to clear the Should Have tasks later today and we can discuss future plans on ownership.
Thanks again.
Comment #18
lolandese CreditAttribution: lolandese commentedCool. Also, have a look at #2953856: CodeSniffer and PHP Mess Detector suggestions.. Probably that you would still have upcoming.
Again, compliments for your photographic work as well.
Comment #19
dakku CreditAttribution: dakku as a volunteer commentedComment #20
dakku CreditAttribution: dakku as a volunteer commentedComment #21
dakku CreditAttribution: dakku as a volunteer commentedComment #22
dakku CreditAttribution: dakku as a volunteer commentedComment #23
Nick Hope CreditAttribution: Nick Hope commentedI can't figure out how to use this in Drupal 8.5.1. I have the Flickr, Flick API Integration (with my key), Flickr Colorbox and Flickr Filter modules all enabled. If I paste
[flickr-photoset:id=72157628761567637, size=n, num=20]
in a basic page I just get that back as text. And I don't see any block or field types related to Flickr. I never used Drupal before version 8 so have never used this module before, and the D7 documentation doesn't seem to be helping. Any tips?Comment #24
lolandese CreditAttribution: lolandese commentedThe Flickr Filter should be added first to a text format at admin/config/content/formats.
Comment #25
Nick Hope CreditAttribution: Nick Hope commentedThank you @lolandese. That works now, albeit with the Colorbox limitations you mentioned in this comment. Thanks @dakku.
However when I click "Configure" on one of the 4 existing text formats, or click "Add text format", I get the error message below. But it does work despite that.
Also, is the Flickr Block functionality working in the D8 version? Again I'm not sure how to implement it if it is.
Comment #26
dakku CreditAttribution: dakku as a volunteer commented@nick
Thanks.
Please see your email :)
Would you mind creating a new thread with Errors/Notices etc so these are not missed?
Comment #27
Nick Hope CreditAttribution: Nick Hope commentedDone: https://www.drupal.org/project/flickr/issues/2958360
(Also replied to your email)
Question remains about Flickr Block functionality.
Comment #28
lolandese CreditAttribution: lolandese commentedMost of the blocks that were available in D7 can be replicated with custom blocks in D8 that simply use the Flickr Filter syntax.
There are some exceptions that are described in the last point of the "Could have's" in comment #16.
Comment #29
lolandese CreditAttribution: lolandese commentedSmugmug acquires Flickr photo-sharing site from Verizon - CNET
Let's hope if any changes to the API will be made, it won't break anything too bad.
Comment #30
dakku CreditAttribution: dakku as a volunteer commentedmore importantly lets hope they dont follow 500px example and take away the API. https://github.com/500px/legacy-api-documentation/issues/258
Comment #32
Nick Hope CreditAttribution: Nick Hope commentedBig Flickr changes announced today. Limit for free accounts is down from 1TB storage to 1000 photos. Many existing photos will disappear from February 5, 2019.
"*Free members with more than 1,000 photos or videos uploaded to Flickr have until Tuesday, January 8, 2019, to upgrade to Pro or download content over the limit. After January 8, 2019, members over the limit will no longer be able to upload new photos to Flickr. After February 5, 2019, free accounts that contain over 1,000 photos or videos will have content actively deleted -- starting from oldest to newest date uploaded -- to meet the new limit."
Why we’re changing Flickr free accounts
Comment #33
lolandese CreditAttribution: lolandese commentedInteresting. Curious to see what will happen. Comment #8 is even more relevant now.
Comment #34
dakku CreditAttribution: dakku as a volunteer commentedI think this was inevitable really. Flickr has been in decline and most users have been moving to other platforms.
I had personally switched from Flickr to 500px, well they also announced that API will be killed off. I am mostly using Instagram with this module nowdays: https://www.drupal.org/project/instagram_api
Comment #35
lolandese CreditAttribution: lolandese commentedGreat to see that despite the developments and uncertain future of the Flickr API the adoption of the D8 version of the module is going well.