INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]   Go Down

Author Topic: online gallery integration  (Read 11496 times)

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: online gallery integration
« Reply #50 on: November 11, 2006, 09:59:16 am »

Something is broken with that.  It should be showing "Title: yadayada Album: 7" or something similar and it currently is not.  Sigh.  Monday.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: online gallery integration
« Reply #51 on: November 13, 2006, 10:17:01 am »

Just upgraded to 111 - the album names seem to be working better now.

Dunno whether it was the new version or just restarting it that did it, but the logging has started working now!

It says:

0314797: Reader: CInternetReader::DownloadFromHTTPURL: Failed (header status code: 406)
0314797: Reader: CInternetReader::DownloadFromHTTPURL: Finish (719 ms)
0314797: Reader: CInternetReader::Thread: Finish (719 ms)
0314797: Reader: CInternetReader::Open: ConnectToURL failed, m_bConnectError=TRUE, URL=http://www.mp.com/gallery/main.php?g2_controller=remote.GalleryRemote
0314797: Reader: CInternetReader::Open: Finish (719 ms)
0314797: Reader: CInternetReader::Close: Start
0314907: Reader: CInternetReader::Close: Finish (110 ms)
0314907: Reader: CDownloadUIDlg::Thread: Finish (829 ms)
0314907: Reader: CDownloadUIDlg::StartDownload: Finished download. Return Value = 3 (Failed to connect to a server.

Reason: Not Acceptable
URL: http://www.mp.com/gallery/main.php?g2_controller=remote.GalleryRemote)
0314907: Reader: CDownloadUIDlg::StartDownload: Finish (829 ms)

(I've replaced the domain name, though I don't suppose that really matters much!)

The photo is just a 16k jpg.
The gallery version is:
Gallery version = 2.1 core 1.1.0

As you say, it certainly appears to be logging in ok - it's getting the list of albums correctly.

If I get it to convert it and resize it first it makes no difference, which kind of rules out it being a problem with the file itself I guess...

The web server is putting the kibosh on the response.  Presumably the accept headers are incorrect.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: online gallery integration
« Reply #52 on: November 13, 2006, 10:32:05 am »

We need a network trace of this to figure out what the web server is trying to send us.  If anyone getting the "Not Acceptable" error would like to help in this endeavor please email tom @ jriver.com

or download and install Ethereal (http://www.ethereal.com/), snoop just the upload (kill email and all that, you want a pretty clean log file) and let us know where we can get the log...
Logged

rpalmer68

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2639
Re: online gallery integration
« Reply #53 on: November 17, 2006, 01:17:51 am »

Is there any more development planned for this feature in the short term?

I was thinking about some sort of syncing or the ability to only upload images not already in the selected album for example.

Cheers
Richard
Logged

RobOK

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 615
  • long time MC user for PC, iPod and Tivo
Re: online gallery integration
« Reply #54 on: November 17, 2006, 05:57:35 am »

DarkPenguin, Did you get the "Not Acceptable" sorted out?  I already have Ethereal, although would like any pointers on how to use it.  I found it to complex and never did much with it.  To I scan for certain traffic or certain key words?

Then what?  Save it to a file for you?
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: online gallery integration
« Reply #55 on: November 17, 2006, 10:45:45 am »

Right now it is kind of in a holding pattern to see what we've got.  And I've been playing with Vista lately.

What I really want is flickr to get back to me and give me a key.

Anywho, on to the "Not Acceptable" issue.  No, I haven't fixed it.  (Simply haven't seen it.)   Email me at tom at jriver.com and I'll send some instructions.
Logged

Rob L

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 469
Re: online gallery integration
« Reply #56 on: November 18, 2006, 05:32:35 am »

did you get my email about it? I've had some trouble with my email lately...
Logged

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re: online gallery integration
« Reply #57 on: November 19, 2006, 04:33:41 pm »

Trying to check this new feature of MC12. Installed Gallery2 on my PC (I have a complete WAMP installation on my workstation) and try to send some images to Gallery2.

When I try to find albums it ask for a certificate! In the documentation I found how to install a certificate. Is it really needed? Or can the need for a certificate be disabled on the server?

What do I have to enter in path: The Gallery Data path on the server or the temporary upload path? Thanks for help!

First impression about Gallery2: Very complex tool! As I am quite experience with WAMP and installing software such as CMS, E-Learning etc., it was rather easy to install.
Logged

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re: online gallery integration
« Reply #58 on: November 19, 2006, 04:41:23 pm »

What about the ability to download/upload images to www.webshots.com.
It seems to be largest photo collection worldwide and they have very high quality pictures from professional photographers to download.
Have been downloading them for years and use them as screensavers/wallpapers. They have their own proprietary format, but they also offer an API for integration in other apps. And MC12 would be an excellent tool for this as their own tool being quite rigid.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: online gallery integration
« Reply #59 on: November 20, 2006, 01:08:38 pm »

The certificate sounds like a web server thing.  https?  We shouldn't care.

The path is where you find gallery on the server.


Trying to check this new feature of MC12. Installed Gallery2 on my PC (I have a complete WAMP installation on my workstation) and try to send some images to Gallery2.

When I try to find albums it ask for a certificate! In the documentation I found how to install a certificate. Is it really needed? Or can the need for a certificate be disabled on the server?

What do I have to enter in path: The Gallery Data path on the server or the temporary upload path? Thanks for help!

First impression about Gallery2: Very complex tool! As I am quite experience with WAMP and installing software such as CMS, E-Learning etc., it was rather easy to install.

Logged

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re: online gallery integration
« Reply #60 on: November 20, 2006, 03:31:32 pm »

I can easily upload  from Gallery Remote, from Windows Explorer, but not from MC12. MC12 and Gallery2 are on the same machine. If I try with https I get a message "Unable to login".
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: online gallery integration
« Reply #61 on: November 20, 2006, 03:54:00 pm »

You shouldn't need the https.  I was just wondering why you were getting the certificate issue.

The two fields should look something like (obviously the path and domain are made up) ...

www.thedomainmygalleryishostedon.com
/Jaguu/Gallery2

(You need to enter the user/password.)

Does find albums fail?  Or is it just the upload that fails?  Do you have a log of the failure?
Logged

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re: online gallery integration
« Reply #62 on: November 20, 2006, 04:22:49 pm »

Quote
0141516: Reader: CDownloadUIDlg::StartDownload: Start
0141516: Reader: CDownloadUIDlg::StartDownload: Starting download. URL = http://https://pralaya/gallery/M:\Web\Gallery\/gallery_remote2.php
0141516: Reader: CDownloadUIDlg::Thread: Start
0141516: Reader: CInternetReader::Open: Start
0141516: Reader: CInternetReader::Open: Opening http://https://pralaya/gallery/M:\Web\Gallery\/gallery_remote2.php
0141516: Reader: CInternetReader::Thread: Start
0141516: Reader: CInternetReader::DownloadFromHTTPURL: Start
0143766: Reader: CInternetReader::DownloadFromHTTPURL: HttpSendRequest error: 22960856
0143766: Reader: CInternetReader::DownloadFromHTTPURL: Failed (header status code: -1)
0143766: Reader: CInternetReader::DownloadFromHTTPURL: Finish (2250 ms)
0143766: Reader: CInternetReader::Thread: Finish (2250 ms)
0143766: Reader: CInternetReader::Open: ConnectToURL failed, m_bConnectError=TRUE, URL=http://https://pralaya/gallery/M:\Web\Gallery\/gallery_remote2.php
0143766: Reader: CInternetReader::Open: Finish (2250 ms)
0143766: Reader: CInternetReader::Close: Start
0143875: Reader: CInternetReader::Close: Finish (109 ms)
0143875: Reader: CDownloadUIDlg::Thread: Finish (2359 ms)
0143875: Reader: CDownloadUIDlg::StartDownload: Finished download. Return Value = 3 (Failed to connect to a server.

Reason: Unknown.
URL: http://https://pralaya/gallery/M:\Web\Gallery\/gallery_remote2.php)
0143875: Reader: CDownloadUIDlg::StartDownload: Finish (2359 ms)

My Server address is: //pralaya/gallery (local server)
My Gallery Folder is: M:\Web\Gallery.
Gallery runs on my WXP pc running apache/mysql/php/gallery2

If I just enter //pralaya/gallery MC12 asks for a certificate.
If I enter https://pralaya/gallery it does not ask for a certificate. Trying to find albums, I get an "Unable to login"

Maybe it has something to do that Gallery is in my case is not running on some linux server but on Windows itself!

Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: online gallery integration
« Reply #63 on: November 20, 2006, 04:29:25 pm »

Ah.

If you just wanted to view your server through a web browser what would you type for a url?

I'm thinking you want to use "localhost" (or maybe "pralaya".  Is that your machine name?) and "gallery"
Logged

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re: online gallery integration
« Reply #64 on: November 20, 2006, 04:56:32 pm »

//pralaya/gallery or //localhost/gallery
Yes, pralaya is my machine name
The Gallery software is on D:\Sites\gallery
The GalleryData folder is on M:\Web\Gallery


Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: online gallery integration
« Reply #65 on: November 21, 2006, 09:25:52 am »

Should be "pralaya" with "gallery" for the path.

(Note that I add http:// if it isn't there already.  So if that doesn't work on your system maybe I'll have to not do that.)
Logged

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re: online gallery integration
« Reply #66 on: November 21, 2006, 10:44:22 am »

Hi DarkPenguin,

I got it, thanks for helping! In the address field I entered: http://pralaya (simply: pralaya also works), in the path field I entered: gallery

Well, I think the confusion arose that one would think that the address field behaves exactly the same way as in Internet Explorer, meaning
1) If you omit http, it is automatically added
2) You enter the whole address: domain-name/path, in my case simply enter " //pralaya/gallery" in the IE address field

I think the split of the whole address in two fields was the confusing thing, as one expects under path a Windows/Unix pathname and not the name part after domain-name.

In Gallery Remote they ask for user name, password and Gallery URL, seems a bit more logical ::)



Logged

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re: online gallery integration
« Reply #67 on: November 22, 2006, 09:54:01 am »

Now that basic login and uploads work, any other plans ahead, such as:

a. automatic album creation
b. automatic integration auf MC standard and user tags
c. syncronization between MC12 and Gallery2.

It's true, Gallery2 is quite a greedy CPU eater!
Just wondering, is this the Number 1 Online Gallery app?

Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: online gallery integration
« Reply #68 on: November 22, 2006, 10:40:07 am »

There are some limitations with the chosen api.  So far as I can tell there are two for G2.  One isn't documented well and the other is only partially supported with G2.  So we have what we have.  This was more of a test than anything.  There are so many galleries out there that it is very difficult to know what to support.  And in some cases what you can support.

So far as I know flickr is the #1 gallery.  It just works and every blog and whatnot pretty much have a plugin or two to work with it.  It is simple, free, and bug fixes and exploits are not your problem when you use it.

If you are using a shared hosting site with fantastico you usually get a choice of Mentalto Gallery or Coppermine Gallery.  Both are a good way to burn through any CPU limits your host imposes upon you.

I need to make another request for a flickr api key.  I really want to support it.

Logged
Pages: 1 [2]   Go Up