photo / frontend

The official @github repository of the Trovebox frontend software. A photo sharing and photo management web interface for data stored "in the cloud" (i.e. Amazon S3, Rackspace CloudFiles, Google Storage).
https://trovebox.com
Apache License 2.0
1.37k stars 244 forks source link

"awesomeness"? #401

Open jemostrom opened 12 years ago

jemostrom commented 12 years ago

I don't know the proper way of reporting this, or what is causing this but when I use the WordPress plugin I get a link that looks like this

<a href="http://awesomeness.openphoto.me/original/201112/1323204268-2011-12-03_14-32-22_1362.jpg" id="op-attachment-2"><img class="alignnone size-medium " title="1323204268-2011-12-03_14-32-22_1362.jpg" src="http://foto.mostrom.eu/photo/2/create/442b5/640x500.jpg" alt="1323204268-2011-12-03_14-32-22_1362.jpg" width="640" height="428" /></a>

The interesting thing is that the link to the original has a URL that starts with "awesomeness.openphoto.me" while the link to the scaled image uses my domain "foto.mostrom.eu", shouldn't both URLs use my domain?

I reported this to the plugin tracker but I was told that it gets the 'awesomeness' url from openphoto and that I should report it here.

jmathai commented 12 years ago

This is a tricky one.

  1. If you do not supply your own S3 bucket then we cannot use your domain for the actual assets. This is because the photos are loaded directly from S3.
  2. If you provide your own bucket then you can map it to your own domain but it requires a couple steps (see below).
  3. Right now we don't have a way to switch and update all this. It's not a difficult task, just one we haven't implemented yet.

To use your own domain with S3.

  1. Name the bucket your.subdomain.com
  2. Add a DNS CNAME for your.subdomain.com pointing to your.subdomain.com.s3.amazonaws.com.
  3. Update your OpenPhoto account with this information (not yet available)

Hope that helps.

jemostrom commented 12 years ago

Ahh, now it's obvious why it happens. Well, I'll wait and see what happens in the future.

jmathai commented 11 years ago

Reopening this issue for discussion.

CCOSTAN commented 11 years ago

https://github.com/photo/frontend/issues/1272