The Image module now integrates with the Views module, and it would be nice if Postcard could use galleries generated by Views instead of the default Image-created ones. Presumably this would involve changing the code to allow Postcards to be sent from an Image node itself instead of by selecting the image in a gallery. This kind of functionality could also open the door to sending other types of content as postcards.

Comments

add1sun’s picture

Status: Active » Closed (duplicate)

I already have added the feature of the "send this as a postcard" link on the node itself so that you don't need to use the "postcard gallery" in addition to an image gallery. That code is in 5 dev and just hadn't gotten released yet (although it should, huh?) I need to get that out there.

As for not using gallery and just using views, I haven't even looked at that in Image module yet, but that said, I am already rewriting Postcard to not require Image or Image Gallery modules at all (http://drupal.org/node/174337). The initial D6 version will be a straight port of the existing Postcard module (depending on Image) and then all of the new code will be in a Postcard 6.x-2 release later.

icecreamyou’s picture

Am I missing something, or is there supposed to be a 'send as postcard' link on nearly every node now? Is it restricted by nodes that are allowed to attach images? It would be nice just to have a series of check-boxes on the Postcard settings page that lets admin choose which content types can be sent as Postcards.

add1sun’s picture

Currently Postcard only works with Image Gallery so the link only appears on Image nodes that are in the gallery you select in the Postcard settings page.

As I said above, breaking Postcard away from that requirement requires a complete rewrite of the module and I won't have time to work on that for a while yet, definitely after the D6 port (which is waiting on Image to be ported.) Patches for that functionality against the D6 branch are welcome.

icecreamyou’s picture

Well, I have Postcard set to take images from All galleries, and instead it's accepting all nodes.

That said, it's probably fine. I would be shocked if anyone wanted to send a forum thread as a postcard, but who knows? It could be a birthday thread... ;)