Skip to content

share images #2

Open
Open

Description

@jancborchardt

I used ghost last weekend at our unconference in Unhost to snap some pictures while doing a presentation on working unhosted apps. IT WAS AMAZING!

Now I want to share some of those pictures. It would be great if a photo would have something like a sharing switch (something revealed on hovering the photo). Then the public photos should be displayed in the same wall-like style on http://vcuculo.github.com/ghost-unhosted-webrtc/#user@host

Btw, you should a) shorten the repo name to just »ghost« to make the link shorter b) deploy using 5apps.com and optionally get a nice domain for the app! :)

Activity

  1. vcuculo commented on Sep 11, 2012

    @vcuculo
    Owner

    Hey Jan, I hope your 1st unconference went great! :)
    Thanks fo the suggestions, I was thinking about a sharing feature too.
    And I like the idea of showing public photos, I'll work on these functions in free time in the next days

  2. vcuculo commented on Sep 12, 2012

    @vcuculo
    Owner

    about this, @jancborchardt is there a way to move data from private to public category and get a direct url to it?

  3. jancborchardt commented on Sep 12, 2012

    @jancborchardt
    ContributorAuthor

    I think you have to copy it somehow. @nilclass knows more and can probably help you on that.

  4. nilclass commented on Sep 12, 2012

    @nilclass
    Contributor

    (referencing this discussion, all I write applies to 0.7, i.e. the master branch)

    Within a module, you have access to the private and public area through individual instances of baseClient. You can use those to copy data between the areas.

    Example:

    var something = privateClient.getObject('something');
    publicClient.storeObject('picture', 'something', something);

    Does that make sense to you?

    Regarding the public URL, there is currently no way. I opened an issue for that.

  5. vcuculo commented on Sep 12, 2012

    @vcuculo
    Owner

    Sure, it makes sense. I'll plan a migration to 0.7 :)

  6. jancborchardt commented on Mar 27, 2013

    @jancborchardt
    ContributorAuthor

    So sharing is possible now? (Can’t test. I’m on Firefox and thought WebRTC works but weirdly gHost says it does not. I can use http://conversat.io with no problem though.)

  7. vcuculo commented on Mar 27, 2013

    @vcuculo
    Owner

    When you open the picture there's a button under each one to download it and since they are hosted in public folder you can easily grab the url of the image (I may add a button to copy it automatically).

    A public page which contains all your shared picture is not implemented yet and actually I dont know if is possible to do. I reopen the issue to catch more ideas about this feature!

  8. vcuculo commented on Mar 27, 2013

    @vcuculo
    Owner

    Oh, and about webrtc @jancborchardt which version of FF are you using?

  9. jancborchardt commented on Mar 27, 2013

    @jancborchardt
    ContributorAuthor

    About the public page which contains your shared pictures: @nilclass did this for myfavoritedrinks, you can test it out on http://myfavoritedrinks.nilclass.5apps.com/#!jan@5apps.com (it will automatically show my shared drinks).

    @nilclass can you help @vcuculo how to do that? Also for Litewrite we would be happy about help :) litewrite/litewrite#19

    @vcuculo Firefox Nightly 22.0a1

  10. vcuculo commented on Mar 27, 2013

    @vcuculo
    Owner

    nice! I'll take a look to myfavoritedrink app!

    about FF, can you please check if it works with FF on this url: http://vcuculo.github.com/ghost-unhosted-webrtc/ ?

  11. jancborchardt commented on Mar 27, 2013

    @jancborchardt
    ContributorAuthor

    @vcuculo on the Github pages version it actually works better (asks for video etc, shows frame, webcam LED is on) but doesn’t actually show the cam feed. Error: HTTP load failed with status 404. Load of media resource http://vcuculo.github.com/ghost-unhosted-webrtc/%5Bobject%20LocalMediaStream%5D failed. @ http://vcuculo.github.com/ghost-unhosted-webrtc/#

  12. jancborchardt commented on Mar 27, 2013

    @jancborchardt
    ContributorAuthor

    Oh and if I take a photo it shows nothing either (just the grey background looking through). But when I save it, it’s all black. If that helps in any way.

  13. vcuculo commented on Mar 27, 2013

    @vcuculo
    Owner

    @jancborchardt I've tested with your same version, it should work now, always here

  14. jancborchardt commented on Mar 27, 2013

    @jancborchardt
    ContributorAuthor

    Hm, maybe it’s just a broken Nightly. I’ll test again later. :)

  15. vcuculo commented on Apr 2, 2013

    @vcuculo
    Owner

    I've tested the "share function" in myfavouritedrink, but does it work also if the user uses an account from a different hosting service than the one which hosts the app? Doesnt it cause an Access-Control-Allow-Origin error? @nilclass

  16. jancborchardt commented on Apr 2, 2013

    @jancborchardt
    ContributorAuthor

    @vcuculo you can check: https://myfavoritedrinks-nilclass.5apps.com/#!jan@heahdk.net seems to work as well. That’s exactly what Cross-Origin-Resource-Sharing (CORS) is for, which all remoteStorage providers implement.

  17. vcuculo commented on Apr 2, 2013

    @vcuculo
    Owner

    nice, I was misled by an error showing in my chrome console. I'll try to add it to ghost.

  18. vcuculo commented on Apr 26, 2014

    @vcuculo
    Owner

    UPDATE renamed the repository to https://github.com/vcuculo/ghost/ and the app domain to https://ghost.5apps.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions