SpringAll icon indicating copy to clipboard operation
SpringAll copied to clipboard

Photos don't display

Open sarahmei opened this issue 14 years ago • 7 comments

When I go to my profile page and click on my photo, I don't see any of my photos - even ones I uploaded after the hosting switchover.

sarahmei avatar Feb 01 '12 19:02 sarahmei

yeah i think this is actually a javascript bug rather than 'all my photos are actually missing'

maxwell avatar Feb 01 '12 19:02 maxwell

so far I have figured out, that in public/javascripts/app/router.js there should be a line like "people/:id/photos": "stream", added to the routes, otherwise the stream on that page is not even loaded.

But from there it appears to become much more than just a javascript thing, since the stream is expecting the JSON for the backbone rendering, and that appears to readily exist for posts only (which would explain why this might be intentionally disabled at this point). At least I didn't succeed by simply copying the json rendering stuff with Stream::Posts from the people#index to photos#index and replacing it with Stream::Photos. I am lacking the insight to go much further than that without investing some time to study the code (which will have to wait until tomorrow)...

Raven24 avatar Feb 06 '12 00:02 Raven24

this can be closed now ;)

Raven24 avatar Feb 19 '12 19:02 Raven24

Yep! Good job, Raven. :)

DeadSuperHero avatar Feb 20 '12 09:02 DeadSuperHero

Doesn't work for me. The photos page still doesn't show anything.

jkaronen avatar Feb 20 '12 19:02 jkaronen

This may not have been deployed yet.

sarahmei avatar Feb 20 '12 21:02 sarahmei

Ok, it seems to be working now!

jkaronen avatar Feb 24 '12 18:02 jkaronen