photo / openphoto-wordpress

A WordPress plugin for OpenPhoto
http://theopenphotoproject.org
22 stars 8 forks source link

Awesomeness ?? #8

Closed jemostrom closed 12 years ago

jemostrom commented 12 years ago

I've just started to play with openphoto and wordpress, I'm curios about the links that is created. If I add a photo to a post I get a photo/link that looks something like this:

1323204268-2011-12-03_14-32-22_1362.jpg

The problem is that the image isn't found/shown - the image link that starts with 'foto.mostrom.eu' (the problem was the same when I didn't use my own domain). Why?

If I click on the link, then the "awesomeness" link/photo is displayed properly. But what is this "awesomeness" ? I was hoping that I would be able to use my own domain all the time

jemostrom commented 12 years ago

The actual link code

<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>

randyhoyt commented 12 years ago

(1) Broken Image: It looks like we have mis-named a parameter in the API request. Line 58 currently has this ...

        $parameters['generate'] = 'true';

... but should have this:

        $parameters['generated'] = 'true';

I'll make that change soon and commit it.

(2) Awesomeness: I don't know what that awesomeness is; it is a "feature" of the hosted OpenPhoto offering. I'm not sure the best place to log that. (It's not exactly an issue with the source code, but it still might make sense to log it on the main OpenPhoto source code: [https://github.com/openphoto/frontend].)

jmathai commented 12 years ago

Thanks @randyhoyt. (2) belongs in openphoto/frontend#401 -- will track there.