Earlier I had explained I would add this to the flickrhood module as I had a private solution already working, but now I'll finally get to porting it the new Flickr module.

Most code for this is done by now and next week I'll get to the last steps so this feature should hopefully be in HEAD within 2 weeks from now.

The trickiest part really is getting support for both uploading to personal Flickr accounts and 1 Flickr account set by the admin. Initially I can only offer support for uploading to a Flickr account set by the site admin.

Casper

Summary edit:
One use case is to post your own originals to your own web site first, "tag" them with your license/tos, tags and time stamp, before they are published on social media such as Flickr. Then, once that is taken care of, we would use for example this Flickr module to present Flickr sets, filter flickr tags, create collections of those tags based on our favorites from other peoples Flickr photos (within our selected tags), etc.

Comments

greggles’s picture

I also have some code that does this and am also interested in getting it working in a drupal module.

The version I have depends on the phpflickr library - I'm not sure how acceptable that is and I'm not sure if your code lapurd relies on that as well...http://phpflickr.com

lapurd - I definitely want to coordinate with you on this. If you'd like I can stick the code in my sandbox.

drewish’s picture

we don't want to introduce a dependency on phpflickr. i'd be interested in seeing the dependent code extracted for inclusion in our module though. i'm pretty sure phpflickr is GPL.

lapurd’s picture

greggles, I once convinced a developer on another Drupal Flickr module to use the library you mentioned, but I guess for this module the developers don't like to depend on it. I'm not going to argue over this with them, I just want to add upload support and move on basically. So I think you should understand that I will not rely on it for uploading and want to respect the maintainers choice on this.

So I think we could work this out together like you said. I propose to send you the code I currently have so you can see how it works (abd you send me yours) and see what it does and how it works. I basically have done the interface code and all that remains is the interfacing with the Flickr API. It would be best if you would simply try out the code to see what it does and how it works. We can then comment on the features we like of each our approach. Perhaps we can mix some ideas.

I should note that I can't spend too much time on this in the sense that I won't be able to support the code very long. Basically I owe it to someone to add this feature and that's basically what I want to do for that person here.

I don't know what you mean with the 'sandbox' comment, could you help me with telling me how I can best work with you on this, then I will follow that.

mg2020’s picture

Title: Uploading photo's to Flickr.com » Uploading photo's to Flickr.com - my two cents

I am anxious to see how this turns out - unfortunately I am not much of a coder, but would like to throw my two cents in on usability as I've been through this Flickr upload thing on another platform.

For an unrelated project, my team developed a Flickr interface to a Perl-based social networking site, and here was the feature set:

- Login capability from the site - Flickr allows login link and the API key for the service can be programmed to redirect back to the third party site page. We set a login page with link, users would login, the cookie would get passed to the browser, and the user could then do as they liked with Flickr from within the site until they logged out or closed their browser.

- Upload - after login, users could upload from their gallery or from an entry page (this was key). Users like to embed photos in their "journal" space, so upon upload we would return the static flickr link for that photo, in a popup window. Users could choose photo size and right or left alignment, and we would give them the HTML code to copy and paste the link directly into their entry body text field. Using the static image worked well, and the link would of course go directly to Flickr with "new window." We also gave them the option of tagging their photos upon upload, as well as selecting privacy settings. But returning the static image link was key to keeping images in the site, free of the need for login by other users in order to view embedded photos.

- Gallery - pretty simple browsing, as well as upload straight from there. Logged in users had access to their gallery after Flickr login, and we tied gallery access to the buddy system for their friends. Nevertheless, the gallery was de-emphasized in favor of the embedded photo functionality.

- Pop up window buttons in their journal entry screen allowed them to upload photos or choose from their gallery, on the fly.

I don't know how this would be integrated into Drupal, but it was pretty user friendly on an otherwise "not very user friendly" base platform.

I'd be more than happy to post the code snippets upon request.

Regards.

mikemccaffrey’s picture

I am interested in working on this functionality also. I was going to hack together something to post images from my website to flickr, but if someone is already working on a project, I would be glad to contribute.

jenlampton’s picture

I'm also interested in this feature, but I need a 5.x backport since other contributed modules aren't ready for 6 yet. How is this coming along? I'd be willing to work on the backport if needed.

Jen

Anonymous’s picture

Status: Active » Closed (fixed)

At present this functionality is being developed over @
http://drupal.org/project/flickrup

aaronbauman’s picture

Status: Closed (fixed) » Active

flickrup has never had a stable release, not ported to d6, and had no activity for over a year.
this is an opportunity for flickr.module to subsume such functionality as proposed by flickrup.

SethM’s picture

Is there any progress on the feature request? I think it would be a great addition to the module.

tules’s picture

Has there been any progress with this feature? I would like to see it finnished ASAP, as I'm sure many others would, and would be willing to help with development. What are the problems you're having with it at the moment?

field4000’s picture

I too would love to see this working. Adding direct Flickr uploads would be a very valuable asset to many people. If there is anything we can do/help with, please just say.

Cheers.

Anonymous’s picture

Status: Active » Closed (won't fix)

This feature request will not be implemented inside this module as our mandate is that this module will only serve to pull in public photos from flickr.

Best,
Paul Booker
Appcoast

Leeteq’s picture

Title: Uploading photo's to Flickr.com - my two cents » Uploading photos to Flickr
Version: 6.x-1.x-dev » 7.x-1.x-dev
Assigned: lapurd » Unassigned
Priority: Normal » Major
Issue summary: View changes
Status: Closed (won't fix) » Active

Ref. #271731: Port Flickr Upload to Drupal 7

It is still the situation that no stable/working D7 version of that FlickrUp(load) module has been released. That module could need some help, or perhaps consider impementing upload functionality in this module is a more viable alternative now?

Use case:

The use case is to post your own originals to your own web site first, "tag" them with your license/tos, tags and time stamp, before they are published on social media such as Flickr. Then, once that is taken care of, we would use for example this Flickr module to present Flickr sets, filter flickr tags, create collections of those tags based on our favorites from other peoples Flickr photos (within our selected tags), etc.

However, from an ownership/license administration perspective it is a showstopper if we cannot post our originals on our own (Drupal) site to begin with...

Leeteq’s picture

Issue summary: View changes
lolandese’s picture

Hi Leeteq,

...or perhaps consider implementing upload functionality in this module is a more viable alternative now?

The scope of this module is to embed Flickr photos on a site in every thinkable way. Having the ambition to extend beyond that would simply lack the manpower needed to realize it, at least from my side. Besides it is wise to keep it separate in any case, but the latest version of the Flickr module now provides two functions that can be used also by other modules. These are theme_flickr_photo() to generate a themed photo with Colorbox/Lightbox support and a configurable caption. The other one is _flickr_album() that takes a whole bunch of parameters to generate a Flickr album in all sorts and shapes. Both functions are documented at https://drupal.org/node/2170535#html.

https://drupal.org/project/flickrup would be the right place for your request. It could be done without creating any dependency on the Flickr module, but a submodule of flickrup that would facilitate embedding the uploaded images would be nice and could make use of some Flickr module functions, thus having a dependency.

I deduct from the priority setting this is perceived as important and maybe needed for some upcoming project with time constraints. I would be interested to create a well defined technical specified module if some funding is available that covers at least part of the time needed and if it can be contributed back on D.O. But as a separate project extending the Flickr module. Feel free to PM me.

Thanks.

lolandese’s picture

Priority: Major » Normal
Status: Active » Closed (won't fix)

Out of scope. See previous comment.

Feel free to reopen if you have intentions to work on this. We can include other modules that integrate with the Flickr module on the project page.

gunosov’s picture

Status: Closed (won't fix) » Active

Hi Martin, I created a module for uploading photos to Flickr. But I received the following review:
"This sounds like a feature that should live either in Flickr Upload or Flickr project."
What do you think about that?

lolandese’s picture

Hi Anton,

Best way to go is to take over the existing Flickr Upload module. Additionally post your module as a zip file and/or patch at #271731: Port Flickr Upload to Drupal 7. It is advisable to keep it as an extension module of the Flickr module and provide only the upload functionality to avoid module duplication. If it is done that way and works well, I will link to it from the Flickr project page.

Alternatively you are however welcome to supply a patch here. I will review it promptly. Create a sub-module Flickr Upload (flickrup2) (like the already existing Flickr Block, Flickr Filter, etc) that the site builder can enable only if needed. Obviously strip it down to only the upload functionality.

For a next 2 version of the Flickr module we would be #2235215: Releasing sub-modules independently. That would be the only way to have some reliable statistics on the usage of the upload functionality.

Thanks.

lolandese’s picture

A functionality in a similar situation is #555040: A flickrfield image browser to preview flickr images. Feel free to pick that one up as well, maybe even integrating both.

gunosov’s picture

Status: Active » Closed (won't fix)