INTERACT FORUM
More => Old Versions => Media Center 12 (Development Ended) => Topic started by: DarkPenguin on October 30, 2006, 04:23:20 pm
-
So, if we were to integrate (not saying we will) MC with online galleries like flickr or menalto gallery how should we do it? Seems like upload is the bulk of it...
-
YIPEEE!
Could I throw support for Coppermine into the melting pot as well please?
The things I can think of are:
- Easy sync with online service, so only updated/new images are uploaded.
- Support for some form of tag mapping, so one can map MC tags to online database tags
- Ability to update Tag info on online service after images have been uploded.
- Category/tag mapping for online service, so MC tags can be used as categories/albums on online service.
I do hope this is implemented, as it's the one thing lift in MC that I'd really like to do and can't.
With this implemented I believe I could use MC exclusively to manage my audio and images.
Richard
-
Hopefully support for Webshots ;)
Capacity to download Webshots high quality professional images and importing them directly to MC including associated tags!
-
So, if we were to integrate (not saying we will) MC with online galleries like flickr or menalto gallery how should we do it?
I could care less about Upload actually, since Flickr Uploadr works wonderfully in the Send To --> External menu. However, since I have all my pictures painstakingly tagged in MC, and these tags don't show up in Flickr on their own, if there were some way to:
- have the keywords "automagically" translate over
- have the "album" (or some other user-definable tag) automatically fill become the Flickr "set" (this would have to be user selectable because the free Flickr accounts only let you create a limited number of sets).
I only use Flickr, but I would love to see better "tag translation" support from MC!
-
SWEEEEEEEEEEEEEEEEEETTTTTTTTTTTTTTTTTTTTTTTTT!!!!!!!!!!!!!
Well Gallery supports tags. I'd LOOOVVVVVEEEE to be able to upload photo's to it, with their ratings and tag values.
Also love if it could pull tags down from it so it was a two way process.
I could do preliminary tagging in MC, upload a photo album to Gallery2 with the basic tags I'd added and then after say a month when the users had tagged it alot more and added comments etc, sync MC up with it so it got alot more detailed tags pulled back into it.
Might be dreaming for too much but mmmmmm would that be nice!
-
At this point Flickr hasn't approved an API key so I can't even sandbox anything.
-
Gallery 2 user here. Haven't got around to getting the tagging into my pics yet, but a connection to Gallery would be cool. But like glynor said their upload tool works really great now. Just started scanning old family photos two nights ago. Becoming the family archivist ::) FWIF get's a nod here.
-
Gallery 2 user here. Haven't got around to getting the tagging into my pics yet, but a connection to Gallery would be cool. But like glynor said their upload tool works really great now. Just started scanning old family photos two nights ago. Becoming the family archivist ::) FWIF get's a nod here.
I'd be interested in using Gallery2 instead of coppermine, are you uploading through MC somehow or outside of MC?
Richard
-
Gallery 2 (and 1) has a java uploading tool that is pretty nice.
Gallery 2 is the bane of shared hosting. Just eats CPU. Then you have to update because "pointless widget #786 that you don't use but is too much of a pain to remove using fantastico has an exploit!" Joy. I like gallery software with less features. Read: Less vectors for hackers and less shared hosting CPU to get me the dreaded excessive CPU usage messages.
The biggest problem with coppermine and gallery is that I haven't found an api to upload photos. At this point all I want it to be able to do is just upload a photo and tag it silly. I've got a pretty good idea how to do that with flickr but no approval from the flickr gods.
I've been using JAlbum myself. It builds everything locally and then you upload it. That can be a pain because it can only be done from a machine with the original files. Oh, well.
-
This would be cool! Being able to transfer tags would definitely be the number one priority, since most sites has drag-and-drop.
SmugMug is nice, and there's a python script which should be useable as a backbone for integration with SmugMug. They should be quite willing to help out, at least that is what they say in the hacker section. Unfortunately, SmugMug is not free, thus it would/should not be top priority . . .
Doesn't Flickr compress your pictures?
-Rasmus
-
'nother vote for Gallery (2) here - I'm probably too invested in Gallery to turn back now...
(Didn't know there was already functionality for uploading though - or do you just mean a normal upload, nothing to do with Gallery?)
-
The biggest problem with coppermine and gallery is that I haven't found an api to upload photos. At this point all I want it to be able to do is just upload a photo and tag it silly. I've got a pretty good idea how to do that with flickr but no approval from the flickr gods.
I've been using iMatch and a script to upload to coppermine, but I'd much rather use MC and do all my image management in one place.
The upload script I've been using in iMatch has a server .php script and a local script to upload and update the sql database.
I have attached them so you can see what it's doing in case it helps.
www.thepalmers.com.au/temp_txfr/CWG_Upload.zip (http://www.thepalmers.com.au/temp_txfr/CWG_Upload.zip)
Richard
-
SWEEEEEEEEEEEEEEEEEETTTTTTTTTTTTTTTTTTTTTTTTT!!!!!!!!!!!!!
Well Gallery supports tags. I'd LOOOVVVVVEEEE to be able to upload photo's to it, with their ratings and tag values.
Also love if it could pull tags down from it so it was a two way process.
I could do preliminary tagging in MC, upload a photo album to Gallery2 with the basic tags I'd added and then after say a month when the users had tagged it alot more and added comments etc, sync MC up with it so it got alot more detailed tags pulled back into it.
Might be dreaming for too much but mmmmmm would that be nice!
How does Gallery support tags? I'm looking for this and I'm not finding it.
-
I am using Gallery2 and would love to see an integration with MC12.
Regarding the previous post, I just checked my Web Gallery and could find the following tags known by Gallery2:
-- valid for both individual pictures and photo albums:
Title (This is by default the filename like "IMG_0852.jpg").
Summary (By default empty) -- this is shown in the Gallery underneath the Title as explaining text (empty in my case)
Keywords (these are not visible, but searchable) -- similar to MC12's caption tag?
Description (this is the long description)
Photo Properties (these are the EXIF tags)
At this time I use their GalleryRemote tool for uploading. It's already pretty convenient (by drag&drop of my pictures from MC12 into the tool's upload window). It also has an option to automatically shutdown the PC after completion of upload.
What an integration could offer as plus in my eyes:
- introduce photo album as structural element in MC12 and map it to Gallery's photo albums-> no need to re-enter the album names
- maintain the pictures only in one place, i.e. MC12
So if an allocation to a certain album changes, this could be updated into Gallery2 automatically.
Probably in most cases only a subset of all pictures will be synced with the Web Gallery, so a selection/tracking method in MC12 would be adequate (similar to IPOD sync).
I for my part do not need ratings in the Web Gallery to be reflected back into MC12.
-
http://gallery.menalto.com/features
Custom Fields ->> Still trying to personally work out more info about them but yeah, it supports them.
-
I'll have to take a closer look. Right now there is a right click menu that will let you upload to menalto gallery.
-
Should that work with gallery2?
I tried it, but couldn't see anything happening at all! Should I see any sign that it's doing it?
I presume "address" is just the fully-qualified hostname of the server? and that path is the subdirectory that gallery's running from?
Does the album need to exist already, or will it create it if it doesn't exist?
-
It should work with gallery 2. It is pretty silent at this point so you kind of have to look for it. It is very obvious when it works in the debugger. :)
I presume the album needs to exist but I didn't check what happens if it doesn't.
One concern that I had is that I check for the .php file for gallery 1. If it is there I try gallery one stuff. If it doesn't I try gallery 2 stuff. I'm a wee bit curious if that file exists on a G2 upgrade installation.
Maybe a "It worked!" dialog is in order.
-
Hm, definitely just doesn't seem to do anything for me :-(
I didn't upgrade - I had used gallery 1 previously, but it was in a totally different folder.
I tried creating the album first, but that didn't seem to make any difference.
Do you get any kind of feedback that it's doing anything? even like a busy cursor or anything?
-
There is no feedback. As I said, I'll be adding some. If the picture didn't show then it didn't work.
Remember that it wants the album. Not the title.
-
Love your Icon and thanks for adding this.
Haven't tried it yet as have a busy few weeks but will soon I'm sure!
-
Additional feedback has been added. There is also a button by the album name to have the application login and get the album names. If this doesn't work then it isn't logging in. Check your firewalls and whatnot because it could always be getting stopped there.
If it still doesn't work let me know.
-
ok, certainly looks better now :-)
"Find Albums" works, but the list it returns appears to just be an internal numeric ID for the album, which isn't exposed anywhere within gallery itself, so it's pretty hard to know which one to pick!
Presumably that wasn't what you were expecting?
I've got about 30 albums, so I wouldn't even know where to start to translate between the numbers and the album name, short of looking in the MySQL database to find them...
but at least I know it's query the database ok :-)
-
It used to always ask you to rename the gallery when you created it. Looking at G2 it appears to hide the album from the user. (Good plan.) I can line up the title with the album name. I'll look into that tomorrow.
-
I have just installed Gallery2 to test.
When I upload a small image it works and appears in the gallery, ut if I try a larger file (say 2.2MB) it fails and after about 45 seconds MC comes back with a fasiled message.
Log is below of failed upload.
Richard
Media Center; Version: 12.0.109; Types: 2047
0000000: General: Starting logging: Date: 9/11/2006 2:51:11 PM
0000000: General: Log Reset: Logging reset
0009672: Reader: CDownloadUIDlg::StartDownload: Start
0009672: Reader: CDownloadUIDlg::StartDownload: Starting download. URL = http://www.thepalmers.com.au/gallery2/gallery_remote2.php
0009672: Reader: CDownloadUIDlg::Thread: Start
0009672: Reader: CInternetReader::Open: Start
0009672: Reader: CInternetReader::Open: Opening http://www.thepalmers.com.au/gallery2/gallery_remote2.php
0009672: Reader: CInternetReader::Thread: Start
0009672: Reader: CInternetReader::DownloadFromHTTPURL: Start
0010235: Reader: CInternetReader::DownloadFromHTTPURL: Failed (header status code: 404)
0010235: Reader: CInternetReader::DownloadFromHTTPURL: Finish (563 ms)
0010235: Reader: CInternetReader::Thread: Finish (563 ms)
0010235: Reader: CInternetReader::Open: ConnectToURL failed, m_bConnectError=TRUE, URL=http://www.thepalmers.com.au/gallery2/gallery_remote2.php
0010235: Reader: CInternetReader::Open: Finish (563 ms)
0010235: Reader: CInternetReader::Close: Start
0010344: Reader: CInternetReader::Close: Finish (109 ms)
0010344: Reader: CDownloadUIDlg::Thread: Finish (672 ms)
0010360: Reader: CDownloadUIDlg::StartDownload: Finished download. Return Value = 2 (Failed to connect to a server.
Reason: Not Found
URL: http://www.thepalmers.com.au/gallery2/gallery_remote2.php)
0010360: Reader: CDownloadUIDlg::StartDownload: Finish (688 ms)
0010360: Reader: CDownloadUIDlg::StartDownload: Start
0010360: Reader: CDownloadUIDlg::StartDownload: Starting download. URL = http://www.thepalmers.com.au/gallery2/main.php?g2_controller=remote.GalleryRemote&g2_form[cmd]=login&g2_form[protocol_version]=2.0&g2_form[uname]=admin&g2_form[password]=*****
0010360: Reader: CDownloadUIDlg::Thread: Start
0010360: Reader: CInternetReader::Open: Start
0010360: Reader: CInternetReader::Open: Opening http://www.thepalmers.com.au/gallery2/main.php?g2_controller=remote.GalleryRemote&g2_form[cmd]=login&g2_form[protocol_version]=2.0&g2_form[uname]=admin&g2_form[password]=*****
0010360: Reader: CInternetReader::Thread: Start
0010360: Reader: CInternetReader::DownloadFromHTTPURL: Start
0010750: Reader: CInternetReader::DownloadFromHTTPURL: Success
0010750: Reader: CInternetReader::DownloadFromHTTPURL: Finish (390 ms)
0010766: Reader: CInternetReader::Thread: Finish (406 ms)
0010766: Reader: CInternetReader::Open: Finish (406 ms)
0010766: Reader: CDownloadUIDlg::Thread: downloadbytes=0, filelength=0
0010766: Reader: CDownloadUIDlg::Thread: open was successful, starting to read 1024 bytes at a time...
0010766: Reader: CInternetReader::Read: InternetReadFile returned true with zero bytes read: EOF
0010766: Reader: CDownloadUIDlg::Thread: bytes read = 156, numreads=1
0010766: Reader: CInternetReader::Read: InternetReadFile returned true with zero bytes read: EOF
0010766: Reader: CDownloadUIDlg::Thread: zero bytes read after 2 reads
0010766: Reader: CDownloadUIDlg::Thread: closing local file
0010766: Reader: CDownloadUIDlg::Thread: calling Close
0010766: Reader: CInternetReader::Close: Start
0010875: Reader: CInternetReader::Close: Finish (109 ms)
0010875: Reader: CInternetReader::Close: Start
0010985: Reader: CInternetReader::Close: Finish (110 ms)
0010985: Reader: CDownloadUIDlg::Thread: Finish (625 ms)
0010985: Reader: CDownloadUIDlg::StartDownload: Finished download. Return Value = 0 ()
0010985: Reader: CDownloadUIDlg::StartDownload: Finish (625 ms)
0011078: Reader: CDownloadUIDlg::StartDownload: Start
0011078: Reader: CDownloadUIDlg::StartDownload: Starting download. URL = http://www.thepalmers.com.au/gallery2/main.php?g2_controller=remote.GalleryRemote
0011078: Reader: CDownloadUIDlg::Thread: Start
0011078: Reader: CInternetReader::Open: Start
0011078: Reader: CInternetReader::Open: Opening http://www.thepalmers.com.au/gallery2/main.php?g2_controller=remote.GalleryRemote
0011094: Reader: CInternetReader::Thread: Start
0011094: Reader: CInternetReader::DownloadFromHTTPURL: Start
0071078: Reader: CInternetReader::Close: Start
0071078: Reader: CInternetReader::DownloadFromHTTPURL: Failed (header status code: -1)
0071078: Reader: CInternetReader::DownloadFromHTTPURL: Finish (59984 ms)
0071078: Reader: CInternetReader::Thread: Finish (59984 ms)
0071188: Reader: CInternetReader::Close: Finish (110 ms)
0071188: Reader: CInternetReader::Open: ConnectToURL failed, timed out (60000 seconds), URL=http://www.thepalmers.com.au/gallery2/main.php?g2_controller=remote.GalleryRemote
0071188: Reader: CInternetReader::Open: Finish (60110 ms)
0071188: Reader: CInternetReader::Close: Start
0071297: Reader: CInternetReader::Close: Finish (109 ms)
0071297: Reader: CDownloadUIDlg::Thread: Finish (60219 ms)
0071313: Reader: CDownloadUIDlg::StartDownload: Finished download. Return Value = 3 (Failed to connect to a server.
Reason: Unknown.
URL: http://www.thepalmers.com.au/gallery2/main.php?g2_controller=remote.GalleryRemote)
0071313: Reader: CDownloadUIDlg::StartDownload: Finish (60235 ms)
0071563: General: CPodcastMain::Update: Start
0071563: General: CPodcastMain::Update: Finish (0 ms)
0114531: Database: MCDB::Save: Start
0114531: Database: MCDB::Save: Saving (bCleanDB: 0, bForce: 0)
0114531: Database: MCDB::Save: Finish (0 ms)
0131688: General: CPodcastMain::Update: Start
0131688: General: CPodcastMain::TallyAndPurge: Start
0131688: General: CPodcastMain::TallyAndPurge: Search Complete
0131688: Database: CMediaFileIOLoad::Load: Loading: C:\Documents and Settings\Richard Palmer\Application Data\J River\Media Center 12\Library\Cache\File List Sort\Cache (2).dat
0131703: General: CPodcastMain::TallyAndPurge: Sort Complete
0131703: General: CPodcastMain::TallyAndPurge: Gathered Statistics
0131703: General: CPodcastMain::TallyAndPurge: Finish (15 ms)
0131703: General: CPodcastMain::Update: Finish (15 ms)
0131703: General: CMJSearchWnd::UpdatePanes: Start
0131750: General: CMJSearchWnd::UpdatePanes: Finish (47 ms)
-
I really want to jump all over this, but can't atm, my gallery's fooked atm.
Thanks for the feature, and Rob L, thanks for the feedback.
rpalmer, have you checked the file size/dimension restrictions running either globally, or on the album?
-
rpalmer, have you checked the file size/dimension restrictions running either globally, or on the album?
Totally new to Gallery, is this a gallery setting somewhere or part of the php.ini?
My php.ini has a 10MB file size limit, and I can upload using Gallery Remote OK.
R
-
G2 asked me to set the memory limit to 16M (memory_limit = 16M in php.ini). It did not worked fine for me when it was 8M. Just try to see if it works...
DarkPenguin, it would be cool if you can :
- make the album names to be cached (with the possibility to re-check).
- offer the possibility to resize images (if dimension is > to a set limit)
Thanks for this addition, it's a really cool tool : handy and simple!
-
G2 asked me to set the memory limit to 16M (memory_limit = 16M in php.ini). It did not worked fine for me when it was 8M. Just try to see if it works...
DarkPenguin, it would be cool if you can :
- make the album names to be cached (with the possibility to re-check).
- offer the possibility to resize images (if dimension is > to a set limit)
Thanks for this addition, it's a really cool tool : handy and simple!
Done and done. Probably next build.
-
can't believe how quickly this has all been done, it's looking great now :-)
if you can just translate the album numbers into something I can understand, I'll be using this for all my Gallery uploading :-)
-
This is great news, can't wait to try it out!!! I have been using Gallery/Gallery2 for years along with MC, the two together is awesome!!!
-
if you can just translate the album numbers into something I can understand, I'll be using this for all my Gallery uploading :-)
Mine displayed the album names after I did an upload, but reverts back to numbers if I do another fetch of the albums from the server.
Looks like the fetch isn't populating the names properly until after an upload for some reason.
Richard
-
I already host all my pictures on my own webserver. I don't suppose there's a chance of MC just generating HTML or PHP that I could feed to my own server? I would love to be able to us MC for my pics, but I don't since I need to have them online and I don't want to maintain the same thing in 2 places.
-Lou
-
Does the "Send To->Web or FTP Server" not do what you want then? It allows you to create an HTML page with the pictures in....
-
What he said. It currently makes a pretty simple web page.
Edit: I'm looking to add a version of this that uses a template to make a page.
-
I have retrieved the albums and get only the album numbers as stated above. A trick until that is fixed, if you go into Gallery2 and Edit an album, the URL will contain the album number mid-way through looking like this: g2_itemId=1459 .
I tried an upload and got an error that it could not upload.
Closed dialog box and went back in -- the titles were there. But they had numbers in front of them, so the dialog box looked like this:
0. gggg
1. xyz
10. qrst
11. abc
12.
....
19.
2.
20.
In other words, the numbers were in alphabetic order, not numeric order. Not sure why you even need those numbers.
Still getting unsuccessful upload. Log:
0145406: Reader: CInternetReader::Close: Finish (109 ms)
0145406: Reader: CInternetReader::Open: ConnectToURL failed, timed out (60000 seconds), URL=http://www.DomainName.com/gallery2/main.php?g2_controller=remote.GalleryRemote
0145406: Reader: CInternetReader::Open: Finish (60109 ms)
0145406: Reader: CInternetReader::Close: Start
0145515: Reader: CInternetReader::Close: Finish (109 ms)
0145515: Reader: CDownloadUIDlg::Thread: Finish (60218 ms)
0145531: Reader: CDownloadUIDlg::StartDownload: Finished download. Return Value = 3 (Failed to connect to a server.
Reason: Unknown.
URL: http://www.DomainName.com/gallery2/main.php?g2_controller=remote.GalleryRemote)
0145531: Reader: CDownloadUIDlg::StartDownload: Finish (60250 ms)
-
The numbers were there so I didn't have to count. They are sorting because the list control was ignoring my "don't sort this" command. Both should be fixed.
As to why that connection is timing out I have no idea. I'll try to look into it but I'm not sure what is up. What size files are you sending? What kind of files are you sending?
-
~3 MB jpg
As a test, I dragged the same picture from MC into the Gallery Remote client (java) and it uploaded fine, so i don't think it is php.ini type issue. Is there a timeout, like it has to finish an upload in 60 sec or something?
Request:
* add a progress bar on uploads, hopefully one for the whole upload job and one that shows each pictures upload.
* manage multiple galleries. this might be too much to ask, i can understand if you don't
On the other end of the simplicity scale from Gallery2 is Simpleviewer, it is a flash based gallery.
http://www.airtightinteractive.com/simpleviewer/
I have not used it, but always have liked its simple design.
-
ah yeah, ok, I see now that it does bring up the names after you've tried once. Weirdly I don't think it did that before when I tried...
mine isn't uploading either though - but I don't know how to get the logging you're reporting. How do I enable the logging/access the log?
-
I've been using Jalbum. Gallery (particularly G2) can be brutal on shared hosting. (Or shared hosting can be brutal to Gallery. Not sure which.)
Just found 60,000ms being stuffed into a timeout. 3MB with a cable modem is likely to be something around 2 minutes. Guess I'll be bumping that out. I should have something on Monday.
-
ah yeah, ok, I see now that it does bring up the names after you've tried once. Weirdly I don't think it did that before when I tried...
mine isn't uploading either though - but I don't know how to get the logging you're reporting. How do I enable the logging/access the log?
It is probably the same thing. An undersized timeout. Try with a smaller image if you could to see if it works.
-
I was trying to upload one that's 16k :-)
-
>:(
Help->Logging->Output to debug file.
Information is always good. Type of file and all that. Presumably you can login if it is showing you albums. Make sure that works. One thing to note is that the add item does a huge post. This may or may not run afoul of any firewalls or whatnot.
-
ok, I'll supply what info I can.
But I've got it set to "output to a log file", if that's what you mean... and nothing's appearing in the log.
-
What he said. It currently makes a pretty simple web page.
Edit: I'm looking to add a version of this that uses a template to make a page.
Have you seen the options elements v5.0 offers? They do flash templates and everything!! :D
What I've long wanted from MC in the simple template stakes is:
an index page listing all uploaded albums, that gets updated each time a new album is uploaded.
at bare minimum, use [caption] as a caption under the photo, right up to being able to include all kinds of info from the database, like camera, dates, expression based strings...
an option for MC to remember the ftp password. mine's a random string of gobbledygook that I can never remember!
I think i might use a system like that instead if G2 if it were available.
-
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...
-
When I do a Find Albums I only get album numbers until I cancel and go back into the upload again, then the Titles appear.
Could the titiles please get added to the listbox when the Find Albums is done?
Cheers
Richard
-
They should be. Can I assume they are not?
-
They should be. Can I assume they are not?
They're not for me. I have to cancel and re-open the upload then they are there.
R
-
They're not for me. I have to cancel and re-open the upload then they are there.
R
Same here - sometimes the names are there, but after an upload they are just numbers. I think the Fetch button only brings back numbers.
I tried with a small file and got the same result as above with the "Reason: Not Acceptable". So while I think the timeout should be fixed, that is not the underlying problem. "not acceptable" might mean a parameter mismatch? (just a guess)
-
Something is broken with that. It should be showing "Title: yadayada Album: 7" or something similar and it currently is not. Sigh. Monday.
-
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.
-
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...
-
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
-
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?
-
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.
-
did you get my email about it? I've had some trouble with my email lately...
-
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.
-
What about the ability to download/upload images to www.webshots.com (http://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.
-
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.
-
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".
-
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?
-
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!
-
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"
-
//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
-
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.)
-
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 ::)
-
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?
-
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.