LJ Picture Uploader

Sep 16, 2013 17:46

Hello, guys!
Lately I made a program to upload pictures on LJ server (Page on SoftPedia). It's quite simple at look and same simple in use, so hope people will enjoy it.
If you have any ideas how to improve it, welcome!

Program is written on C#/.NET 4.5, uses PhotoBilder API.

client: .net, client: windows, client: c#, *announce, client: image upload

Leave a comment

lord_baskervil September 16 2013, 20:35:11 UTC
May be you have any ideas how to get info about album witch picture belongs to?

Reply

thornik September 17 2013, 16:59:23 UTC
Is is functionality offer or just a question? :)
I plan to make combobox to select album where you want to upload photos.
If you wanna have info about existing photos, then fully functional manager is needed, which will call LJ's API.

Reply

lord_baskervil September 17 2013, 19:59:42 UTC
It's a question because I coudn't find the way to divide pictures to albums

Reply

thornik September 17 2013, 20:49:34 UTC
Только догадка: через этот очевидный вызов возможно приедет что-то типа

[Meta name='GalName']Мои фотки с сауны[/Meta]

(там же передаются метаданные - среди них наверняка будет инфа о галерее)

Reply

lord_baskervil September 17 2013, 21:07:56 UTC
Хм. Этот метод я не заметил. Посмотрю, но что-то сомневаюсь. Спасибо.

Reply

pauamma September 18 2013, 07:21:52 UTC
Assuming that Google Translate didn't make a mess of the above exchange, if that method works, can you edit or comment on your own lj_dev entry to explain? It will make it easier for others with the same question to find it in the future.

Reply

lord_baskervil September 18 2013, 09:47:17 UTC
No. This method returns unusable info.
This is part of my response:

2013-08-06 20:16:04

test album
255

And there are no pictures with id 20 or 21 and how can I link this info with images I don't understand

Reply

thornik September 18 2013, 10:15:08 UTC
Your response looks like you called wrong method. Seems you called 'GetGalsTree', while I pointed you at 'GetPics'.

Reply

lord_baskervil September 18 2013, 11:12:53 UTC
Yes. GetPics doesn't return any info about album.

Reply

thornik September 18 2013, 16:18:21 UTC
Yep, I tested myself, there is nothing corresponding between pics and galleries. WTF??
You have only one way - to SUP. :)

Reply

thornik September 18 2013, 16:28:11 UTC
Как вариант костылей: когда загружаешь пикчу на сервер, номер галереи вставь в заголовок картинки, типа
"{394}Я и Пушкин", тогда тебе в списке картинок придёт

{394}Я и Пушкин

и можешь смело сортировать.

Reply

lord_baskervil September 23 2013, 08:58:52 UTC
Did you test uploading private photos? Or can you create gallery with private access?

Reply

thornik September 23 2013, 11:33:48 UTC
Never ever. There is no "private" sh*t when you drop your "secrets" into the Internet :)

Reply

thornik September 23 2013, 11:34:34 UTC
Yep, confirmed by LJ support:

"Looking more closely, I see the problem is that GetPics returns no album
ID# or information sufficient to identify the album. I have opened a
ticket with LiveJournal developers requesting this be added to the GetPics
function."

So wait until they fix.

Reply


Leave a comment

Up