--
You received this message because you are subscribed to the Google Groups "Camlistore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camlistore+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I tried publisher the first time today, and it worked fine after adding just"publish": {"/pics/": {"camliRoot": "mypics","cacheRoot": "/home/ata/var/camlistore/blobs/cache","goTemplate": "gallery.html"}}to the server-config, and I could access «camlihost:port»/pics/ just fine. However after updating camlistore it is broken. The CL/issueseems to be the culprit, I can access «camlihost:port»/pics/ with d864e3580281c26ff3507d1df60f8d2542ee1c2c but not with master (abc6561c60c863589bb146784e70432806c14d4d).
Since I have no experience with publisher, my question if one should publish image permanodes or sets with children? I've checked the CL and the issue, and the issue mentions how one should be able to access "subdirectories" under /pics/. Should the URL ("foo" and "bar" in the example in the issue) be set through camliPath, camliMember/title?
Btw, the thumbnails in the publisher show up with an incorrect aspect ratio (apparently the image is streched into a square shape) but standalone images appear fine. Is there anything I can do about it?
Thank you!I've added the hints I needed/used to the publisher readme, see
Btw, I believe publishRequest.serveHTTP for the root path (added in CL 8866) should perhaps respond with 403 instead of 404. The status code is 404 is technically correct according to the RFC, but 403 would have saved some time for me because I would have thought of "directory listing prohibited". But maybe that's only me.
On Tuesday, January 17, 2017 at 6:28:58 PM UTC+1, Attila Tajti wrote:I tried publisher the first time today, and it worked fine after adding just"publish": {"/pics/": {"camliRoot": "mypics","cacheRoot": "/home/ata/var/camlistore/blobs/cache","goTemplate": "gallery.html"}}to the server-config, and I could access «camlihost:port»/pics/ just fine. However after updating camlistore it is broken. The CL/issueseems to be the culprit, I can access «camlihost:port»/pics/ with d864e3580281c26ff3507d1df60f8d2542ee1c2c but not with master (abc6561c60c863589bb146784e70432806c14d4d).Since I have no experience with publisher, my question if one should publish image permanodes or sets with children? I've checked the CL and the issue, and the issue mentions how one should be able to access "subdirectories" under /pics/. Should the URL ("foo" and "bar" in the example in the issue) be set through camliPath, camliMember/title?Btw, the thumbnails in the publisher show up with an incorrect aspect ratio (apparently the image is streched into a square shape) but standalone images appear fine. Is there anything I can do about it?
Btw, I believe publishRequest.serveHTTP for the root path (added in CL 8866) should perhaps respond with 403 instead of 404. The status code is 404 is technically correct according to the RFC, but 403 would have saved some time for me because I would have thought of "directory listing prohibited". But maybe that's only me.SGTM. Do you want to send a CL for it?
Since I have no experience with publisher, my question if one should publish image permanodes or sets with children? I've checked the CL and the issue, and the issue mentions how one should be able to access "subdirectories" under /pics/. Should the URL ("foo" and "bar" in the example in the issue) be set through camliPath, camliMember/title?The camliRoot itself only supports camilPath, so foo and bar are camliPath attributes set on the camliRoot, such as:camilPath:foo = sha1-foocamliPath:bar = sha1-barsha1-foo (and sha1-bar) should be either a permanode with some camliContent, or a permanode with some camliMembers. But I notice that a permanode with camliContent (directly at the root) seems to be broken. I'll look into it.
--
You received this message because you are subscribed to a topic in the Google Groups "Camlistore" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/camlistore/vIM2dAFsyTo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to camlistore+...@googlegroups.com.
This doesn't seem to work for me, but I'm not sure it is related to your publisher change, so I'm responding here.Ubuntu 16.04.1 LTSCamlistore: 2017-01-18-eba4897Go: linux/amd64 go1.7.4, cgo=truedjpeg: djpeg availableWhen I add a permanode of a jpeg image to my publisher root as camlipath:face then publisher shows only the title of the image (IMG_20150410_141410.jpg, which is correct), the image is missing. Apart from this attr, I've the followin attrs:title = "My pictures"camliRoot = mypicscamliMember = sha-xxx (multiple members from my first attempt setting up publisher)camliPath:szk = sha-yyy (permanode set, works in publisher)camliPath:face = sha1-300831992389538979400db5cc8e587bc6316ff8 (permanode with camlicontent, only title is shown)I get the following in javascript console:Navigated to http://linda:3179/pics/facepublisher.js:97 Your current jQuery version is: 2.2.3publisher.js:21 error creating file container: full blobref for prefix sha1-pics not found
To unsubscribe from this group and all its topics, send an email to camlistore+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Camlistore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camlistore+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to camlistore+...@googlegroups.com.
On 17 January 2017 at 18:28, Attila Tajti <attila...@gmail.com> wrote:Btw, the thumbnails in the publisher show up with an incorrect aspect ratio (apparently the image is streched into a square shape) but standalone images appear fine. Is there anything I can do about it?Yeah, I did the very minimum amount of math for the thumbs.You can:1) as usual file an issue :-) (but that probably won't be in my priorities, sorry)2) fix the code at app/publisher/js/members.go. Aaron had done it pretty well for the web UI (I'm still seeing some bugs if I mix images with very different sizes though), so that might be the way to go for inspiration.
--
To unsubscribe from this group and stop receiving emails from it, send an email to camlistore+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to camlistore+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to camlistore+unsubscribe@googlegroups.com.