PDA

View Full Version : Adobe Photoshop Lightroom Export Plugin


jaywilliams
02-04-2008, 05:17 AM
Do you use Lightroom to manage your photos?

Well now you can export your photos straight from Lightroom to Pixelpost with ease!
Providing that you're running Pixelpost v1.7.1. (It will not work with older versions)

Now With Lightroom 2 Support!

More information & download links can be found here:
http://www.pixelpost.org/extend/addons/adobe-photoshop-lightroom-export-plugin/

Did I mention it works with Mac as well as Windows?

Love/Hate the plugin?
Let your voice be heard... Write a Review (http://www.pixelpost.org/extend/addons/adobe-photoshop-lightroom-export-plugin/reviews/#write)!

Screenshot:
http://idisk.d3done.com/idisk/lightroom_export_b1-20080204-001533.png (http://www.pixelpost.org/extend/addons/adobe-photoshop-lightroom-export-plugin/)

fredxeric
02-04-2008, 11:22 AM
how exactly what I was looking for , the workflow will be much easyer... great addon.

I do not see in this screen capture where to put the image title and notes?

prometeus
02-04-2008, 03:38 PM
If you have a photo selected for export with your right mouse click..
Do not choose export to pixelpost but just export.

jaywilliams
02-04-2008, 04:30 PM
The image Title, Description & Tags are pulled from the actual image metadata.

Tags = Keyword Tags
Title = Title
Description = Caption

http://idisk.d3done.com/idisk/Image_Metadata-20080204-111746.png

Also keep in mind, you can export multiple photos at the SAME TIME.
This is really handy when you set the date/time to "One day after last post".

Finner
02-04-2008, 10:57 PM
Damn, that's so cool! Exactly what I was hoping for..! Can't wait to get home and test it out. Thanks for all your great work Jay..!

fredxeric
02-04-2008, 11:28 PM
I just have install the addon, and I dont see the export to pixelpost.

weird...

Oups, I am using Lightroom version 1.1

jaywilliams
02-05-2008, 12:06 AM
Yes, I'm pretty sure Lightroom v1.3 is the minimum supported version.
So make sure you have the latest updates installed. :D

If anyone has any suggestions, or feedback, I'd love to hear it!

Finner
02-05-2008, 07:33 AM
Just installed this with no problems - working really well using PP 1.7.1 and lightroom 1.3 with WinXP.
Perhaps add a little note about set-up on the lightroom end; to use the post key + url as listed in the addon page once it's turned on?

Edit: After using it some more, I'm not sure the 'use exif date' option is working properly - although I've selected this, it still uploads it with the current date and time.

jaywilliams
02-05-2008, 03:38 PM
Thank you very much Finner for you feedback.

I will check out the EXIF date option on my end and see if I get the same results.

jaywilliams
02-05-2008, 04:46 PM
Yes, I've found the the "Use EXIF Date" does indeed have a bug.
I've found it, and fixed the problem.

Feel free to download the latest version w/ the fix:
http://www.pixelpost.org/extend/addons/adobe-photoshop-lightroom-export-plugin/

Just override the old files with the new ones.

fredxeric
02-06-2008, 12:45 AM
I just got upgrade to version 1.3.1 and it is working perfectly.

Fabulous, I think it's the perfect tool a must for those who use Lightroom for managing their images.

Thanks Jay

Finner
02-06-2008, 09:59 AM
hrmm.. unless I haven't overwritten all the files properly, it seems the changes aren't working for me..

fredxeric
02-06-2008, 02:31 PM
do you have 1.3.1 version of lightroom instead it will not work

jaywilliams
02-06-2008, 04:18 PM
hrmm.. unless I haven't overwritten all the files properly, it seems the changes aren't working for me..

Make sure you've Uploaded the new files:

pp_upload.php (admin folder)
admin_pp_upload.php (addons folder)

Also, make sure you've edited pp_upload.php so it contains your correct Post Key.

If it is still not working, try setting the post date to "One Day After Last Post" and see if that works. If that is working, then we know the the new script update is functioning properly.

clovenlife
02-06-2008, 04:45 PM
I'm having a hell of a time getting this to work. I've got everything installed, key set so on and so forth. But when I try to export, it looks like it gets past the first image and then says "Oh no! couldn't connect to pixelpost, make sure key and url are set correctly" which they are.

Now I try to retype in the Key and URL and it won't tell me ready to upload anymore.
all the files are set to 777
the only difference is the admin folder is actually admin2/ because of server redirects but I edited the php file to adjust for that.

clovenlife
02-07-2008, 01:29 AM
ok, so i set file permissions back and it recognizes my key again but I still get the same error.

i figured out it failing at this part of the code


-- mimeChunks[ #mimeChunks + 1 ] = { name = 'api_sig', value = params.api_sig }
mimeChunks[ #mimeChunks + 1 ] = { name = 'photo', fileName = fileName, filePath = filePath, contentType = 'application/octet-stream' }

-- Post it and wait for confirmation.

-- local url = tostring( uploadURL,'?post_key_hash=',post_key_hash)

local post_url = string.format( '%s?post_key_hash=%s&mode=upload',
uploadURL, post_key_hash )


-- info( 'post_url: ' .. post_url )
-- info( 'uploadURL: ' .. uploadURL )

local result = LrHttp.postMultipart( post_url , mimeChunks )

-- Parse Pixelpost response for photo ID.
-- info( 'result: ' .. result )

if result == 'OK' then
return result
else
-- LrErrors.throwUserError( LOC( "$$$/Pixelpost/Error/API/Upload=Pixelpost API returned an error message (function upload, message ^1)",
-- tostring( result ) ) )
warn( 'Pixelpost API returned error', result )
LrErrors.throwUserError( LOC "$$$/Pixelpost/Error/API=Oh no!\nIt looks like we were unable to connect to Pixelpost! Please verify that your Post Key & URL are set correctly.")

end

fredxeric
02-07-2008, 03:58 AM
"Oh no! couldn't connect to pixelpost, make sure key and url are set correctly"

I receved the message too.

I dont have probleme to send picture to my dev server but as soon I try to send to my prod server i got the message, is there something that hold info from the first upload and cache someinfo so we can;t upload anymore with new key and new url?

Jay please help us...

jaywilliams
02-07-2008, 04:16 AM
Never fear, Jay is here!
Ok, enough joking around.
Lets see what's up.

Go the the 'pixelpost.lrdevplugin' folder.
Open up the file PixelpostAPI.lua.
One line #40 you should see this code:
-- logger:enable('logfile')

Remove the two '--' at the beginning of the line.
And save the changes.

Now restart Lightroom and attempt to upload an image to Pixelpost.

The Plugin will now create a log file which you can look at to see the actual error message that occurred.

This log file is written to your ~/Documents folder in Mac OS, or to your My Documents folder in Windows.

Now when you get the error, open up the log file, scroll down to the bottom, and copy the complete error message into a forum post or PM so I can check it out.

clovenlife
02-07-2008, 05:33 AM
02/06/2008 20:19:25 INFO uploading photo C:\Documents and Settings\aaron\Local Settings\Temp\DF13A271-0F50-451F-9BC7-C2D6AC7A52F0\Meelo and Bass.jpg
02/06/2008 20:19:33 WARN Pixelpost API returned error ERROR: Version Mismatch!

would my replacing admin/ with admin2/ cause a version mismatch?

jaywilliams
02-07-2008, 07:08 AM
Are you sure you are running Pixelpost v1.7.1?

The only reason why it would return that error, is if you were using an older version of Pixelpost.

fredxeric
02-07-2008, 10:13 AM
1.7.0 maybe that why I will try and give you a feed back

fredxeric
02-08-2008, 01:25 PM
Ok it work just under version 1.7.1 I just got the update.

One more issue:
When I post the picture selecting, post (Date time: Use exif date) the picture is still uploaded as the actual hour. and it is not post with the date of the exifs.

any sugge3stions

jaywilliams
02-08-2008, 03:01 PM
The EXIF date was broken in v1.0, but in version v1.0.1, it is fixed.

Have you downloaded & installed v1.0.1?

http://www.pixelpost.org/extend/addons/adobe-photoshop-lightroom-export-plugin/

fredxeric
02-08-2008, 03:53 PM
Yes I am using the version 1.0.1, and the problem is real with this version...

I just did again the download and refresh all my files on the dev server and it is still posting with today's date.

jaywilliams
02-08-2008, 03:55 PM
Could you send me one of your photos so I could try uploading it to my dev server?

Because it works perfectly with any of my photos.

fredxeric
02-08-2008, 04:07 PM
Could you send me one of your photos so I could try uploading it to my dev server?

Because it works perfectly with any of my photos.

NEF 5.47 MB http://dev.lafaille.ca/repository/DSC_0693.zip

jaywilliams
02-08-2008, 04:14 PM
I just did a test, and I had no issues whatsoever.

I imported the photo into Lightroom, applied a few develop presets, just for fun, then then to File > Export.
I chose Export to Pixelpost from the presets sidebar, then I selected "Use EXIF Date" for the Date & Time.
Then I pressed the "Export" button, and it was done!

http://idisk.d3done.com/idisk/exif_test-20080208-111259.png

And nice photo BTW. :)

fredxeric
02-08-2008, 04:36 PM
I just did a test, and I had no issues whatsoever.

I imported the photo into Lightroom, applied a few develop presets, just for fun, then then to File > Export.
I chose Export to Pixelpost from the presets sidebar, then I selected "Use EXIF Date" for the Date & Time.
Then I pressed the "Export" button, and it was done!

http://idisk.d3done.com/idisk/exif_test-20080208-111259.png

And nice photo BTW. :)


Well I did the same as you.... weird.... can you download the packlage on the extend link and compare to your files on your local machine, maybe there is something different. and also are you using windows or mac...

Omar1000
02-08-2008, 05:54 PM
For me is the function "Post one day after last post" NOT working. If I post a new image it is posted to the current date. Any idea?

But anyway a great addon!

jaywilliams
02-08-2008, 06:30 PM
For me is the function "Post one day after last post" NOT working. If I post a new image it is posted to the current date. Any idea?

But anyway a great addon!

Again, are you sure you are using the latest version 1.0.1?

The original version 1.0 had an issue with that.

Finner
02-08-2008, 11:21 PM
I've just been testing both post with exif date and post 1 day after last post with 1.0.1 and it's still not working for me either... will continue to try some things though.. I also noticed that after overwriting the old files with the new ones, there's still the 'publish instanty' spelling error - if this was fixed in the new version, then somehow the files aren't being overwritten properly and/or lightroom keeps it's own copy somewhere else to use. . .?

Omar1000
02-09-2008, 07:16 AM
Again, are you sure you are using the latest version 1.0.1?

I am sure, just downloaded it from the addon site. But in the Installation Instructions it is marked as "Adobe Photoshop Lightroom Export Plugin v1.0 Beta 1". Is this 1.01?

jaywilliams
02-09-2008, 07:29 AM
Problem Solved!

My apologies to everyone, but it seems I uploaded the old v1.0.0 BETA 1 release and labeled it v1.0.1.

So the bug/spelling fixes weren't available for download.

This has been corrected, and I have released a new version v1.0.2 (aka BETA 2)

If you look at the included "Installation Instructions.txt" file it should say:
"Adobe Photoshop Lightroom Export Plugin v1.0 Beta 2".

So please, download the new version, and enjoy EXIF date posting!

http://www.pixelpost.org/extend/addons/adobe-photoshop-lightroom-export-plugin/download/

So this explains why everything was working properly on my end, as I was actually using 1.0.1, and everyone else was stuck with the old 1.0.0 code.

Omar1000
02-09-2008, 07:45 AM
Yeah, Thanks, now it is working!

Finner
02-09-2008, 09:07 AM
yep, another report that it's all working well..! thanks

fredxeric
02-09-2008, 03:51 PM
HAo uuuuuuuuuuuuuuuu it is working now..... perfect........

jaywilliams
02-09-2008, 10:07 PM
Thanks for the feedback!

It sounds like the plugin is working properly.

If anyone finds any bugs, or has any reasonable feature requests, feel free to let their voice be heard.

fredxeric
02-10-2008, 01:06 AM
Thanks for the feedback!

It sounds like the plugin is working properly.

If anyone finds any bugs, or has any reasonable feature requests, feel free to let their voice be heard.


for the instant moment it is fine, the best addon ever done for me...

boyer.x@gmail.com
02-10-2008, 12:38 PM
Hello Jay,
Thanks for all what you do. Your plug seems to be really great, but I can't get it into work : The "MUST HAVE VALID POST KEY AND URL" comes again and again. I've been trying first with the 'bad' 1.01 version, replaced it with the 'good' 1.02, but can't find what's wrong.
I'm running XP, LR 1.3.1, Pixelpost 1.7.1.
- both pp_upload.php and admin_pp_upload.php have been uploaded to my server
- External App Upload (admin_pp_upload - version 2.1) - status: ON
INFO
Upload URL: http://xavier.boyer.club.fr/admin/pp_upload.php
Post Key: ########
- AND log file is giving ERROR OK !

any idea ?

settecplus
02-11-2008, 06:02 PM
First of all, thank you for this invaluable tool.
Just out of curiosity: is it just me, or there is no waty to change the color space of the generated jpg? The drop down menu is there, but it's greyed out... Am I missing something? And what about the DPI?
Thank you in advance ;)

jaywilliams
02-11-2008, 06:56 PM
Correct, the color space is locked to 8 bits/sRGB, as all images that will be displayed for the web should be in this format. If you save your images in another color space or bit depth, the photos will render improperly on every browser with the exception of Apple's Safari.

DPI is unimportant for images on the web, as a web browser simply displays the pixels as they are saved. DPI is only important when you are preparing a file for printing.

I hope that helps. :D

settecplus
02-11-2008, 09:24 PM
Correct, the color space is locked to 8 bits/sRGB, as all images that will be displayed for the web should be in this format.


I see... I think my problem is more Lightroom-related than PP-related, so I'm not gonna hijack your thread with that :) I mean, there is a big difference between the Image I see in lightroom, and the one I see on the web, and I'm using a calibrated monitor...


DPI is unimportant for images on the web, as a web browser simply displays the pixels as they are saved.

You're right, but I don't see the need to distribute a 240DPI image to the public if not necessary :)

Thank you once again;)

jaywilliams
02-11-2008, 09:36 PM
I mean, there is a big difference between the Image I see in lightroom, and the one I see on the web, and I'm using a calibrated monitor...

If you export your photos, as set in the Pixelpost Plugin, on sRGB as preset, they should look the same as they do in Lightroom. If there is a BIG difference, something is wrong with your color profiles or the way you are saving your photos.

(If you have any screenshots/samples you could show, it would be appreciated.)



You're right, but I don't see the need to distribute a 240DPI image to the public if not necessary :)

Well, as I stated before, DPI is a non issue for the web. You can export a photo in Lghtroom that is only 100x100 pixels and set the DPI to 1,000. That doesn't make the photo any more detailed or increase the file size. DPI is simply a setting that is saved in the JPG file. It has nothing to do with the actual resolution of the photo (Pixels), and is only useful when working with an application that understands DPI. Web browsers do not understand DPI, and therefore ignore any DPI settings that may or may not be saved in the photo.

Hopefully I've stated it clearly enough. DPI is a setting for printing, not for the web.

I hope that clears things up a bit. :)

emotionslos
02-13-2008, 10:28 AM
So a quick tip for all of you Mac users:

You can rename the .lrdevplugin folder to .lrplugin
After renaming there is only the need to doubleclick on it and Lightroom installs the plugin in the "Modules" folder for you.

http://www.emotionslos.com/jing/Bild 9.png


Oh and BTW i love this plugin! Thanks!

jaywilliams
02-13-2008, 01:03 PM
Thanks emotionslos!

That's a great tip!
I'll be sure to do that for future versions.

settecplus
02-13-2008, 01:09 PM
Hopefully I've stated it clearly enough. DPI is a setting for printing, not for the web.
I hope that clears things up a bit. :)

Sorry, I was not trying to be... pedant :) I have a pretty decent comprehension of the meaning of the DPI-thing, so what I was saying is a different thing. I can see your point, nonetheless.

About the difference between the image in lightroom and in the browser, well, there is. It's not a big difference, but indeed is there. Since I'm a newbie lightroom user, and have the chance to test it just on a friend's pc, maybe it's just my fault :)

Time to sto the thread hijack.
Thank you once again for the tool, indeed a useful one ;)

jaywilliams
02-13-2008, 01:24 PM
About the difference between the image in lightroom and in the browser, well, there is. It's not a big difference, but indeed is there. Since I'm a newbie lightroom user, and have the chance to test it just on a friend's pc, maybe it's just my fault :)

True, images will look different on un-calibrated screens. I'd recommend grabbing a copy of Parallels or VMWare Fusion. (They both have free trials) That way you can run Windows on your Mac and test out your site in IE on the same monitor. And chances are, the image should look exactly the same as it does in Lightroom.

Also, I'd recommend calibrating your monitor to Gamma 2.2, as the majority of the public uses this. Mac's ship with the Gamma set to 1.8, which is fine and good, until you start doing work that will be viewed on other operating systems, like Windows.

Hopefully this will help you with your quest for perfect images for the web. :)

7aph0
02-20-2008, 09:38 PM
great plugin!

about the difference between the images...

my problem is that i'm shooting in adobergb ... the plugin unfortunately doesn't convert it to sRGB ....therefore a difference in the "normal browsers like firefox or ie".

is there a possiblilty to upgrade this option somehow? (in lightroom itself it is possible in the export menu.

thanks in advance

Niki

jaywilliams
02-20-2008, 09:48 PM
The plugin is setup to export the photos as 8-bit sRGB JPG images.

If you would like to enable the color spaces selection box, you can do that quite easily.

Open up the folder: pixelpost.lrdevplugin
Open up the file: PixelpostExportServiceProvider.lua
Go to Line #35
Add two hyphens "--" to the beginning of the line.

It should look like this:


-- allowColorSpaces = { 'sRGB' },


Save the changes, and start up Lightroom.
You can now specify other color spaces, besides sRGB.
Although I don't recommend that you do. :)

7aph0
02-20-2008, 10:26 PM
thx

unfortunaltely didn't solve my problem :)
http://www.grinst.org/pixelgallery/index.php?x=browse

last two portraits - see details

jaywilliams
02-20-2008, 11:35 PM
Yes, one of them is definitely an AdobeRGB image.
AdobeRGB: 20080221001926_-bearbeitet.jpg (Post title: -Bearbeitet.jpg)
sRGB: 20080221002208_blick-2.jpg (Post Title: via export - lightroom)

Is is possible you could send me one of your original AdobeRGB photos that does this when you use the plugin?
That way I could test it out on my Lightroom installation.

Thanks!

7aph0
02-21-2008, 06:19 AM
i uploaded u a NEF file of the sunsetpicture ... same problem there

www.grinst.org/public/DSC_3569.NEF (5 mb!)

thanks

jaywilliams
02-21-2008, 06:37 AM
Ok, thanks.

I'll do some tests on it and see if I can recreate the problem.

jaywilliams
02-21-2008, 06:04 PM
I've done a few tests with my Lightroom installation, and it worked perfectly.

http://idisk.d3done.com/idisk/20080221190145_dsc_3569.jpg_Info-20080221-130509.png

This was exported straight from Lightroom using the Pixelpost Plugin.

EcoSee
02-21-2008, 09:24 PM
Hey Jay~

This gets the "Best Addon" vote from me. I was just wondering about one other possible coding change to go along with the one you described a few posts back. In the same file, do you see any problems with changing allowFileFormats = { 'JPEG' },



to -- allowFileFormats = { 'JPEG' },



I guess I am wondering if there was logic behind the restriction and what problems you foresee with opening that up?

jaywilliams
02-21-2008, 09:42 PM
Obviously, the original image in LR may be a RAW, JPG, or TIFF. And that's not a problem, as that setting only tells LR which format it needs to convert the image to before sending it to Pixelpost.

If you want you CAN comment that out, then you can choose to send Pixelpost a TIFF if you want. But I highly recommend against it, as Pixelpost only support JPG images.

pf_bgf
02-22-2008, 12:51 PM
hi, I’m a real data base beginner, but when I found the lightroom export plug in – I just have to give it a try.
but I’m lost at step one:
"1. Open the file 'pp_upload.php' and specify a Post Key."

please, help me someone,
all the best/per

jaywilliams
02-22-2008, 06:35 PM
In the included zip package, there is a file called "pp_upload.php". You need to open this file up with a plain text editor, such as Notepad or TextEdit.

When you open it up you will see the spot where you can enter the post key.

pf_bgf
02-23-2008, 02:01 PM
Hi, thansk for your feedack. I got the document, but I don’t have a clue what to type or where to type.

jaywilliams
02-23-2008, 04:38 PM
Hopefully this image will help you:

http://idisk.d3done.com/idisk/pp_upload.php-20080223-113833.png

pf_bgf
02-23-2008, 06:48 PM
I took a chance and just picked a number (post key!?) from the include webadress – and I made it works!
thank you for helping med out and a great plug in!
/per

pascalgaut
02-24-2008, 12:52 PM
As per other posts - thanks for this addon. Just what I was looking for to manage large number of photos ...

... now the problem though is that the Lightroom Keywords do not show up as pp tags. I'm not sure as to which php code is used to load EXIF/IPTC keywords into PP tags so not sure how to debug. Any idea?

I enabled the lightroom logs and it does not show any errors...

jaywilliams
02-24-2008, 02:57 PM
When you export, make sure the Minimize Embedded Metadata checkbox is un-checked.

http://idisk.d3done.com/idisk/Export-20080224-095655.png

If that checkbox is enabled, Lightroom won't export the keywords.

terje
02-24-2008, 09:43 PM
Installed and worked the first two hours. I uploaded about 300 shots. Now all of the suddent I get a error message:
"Oh No
It looks like we were unable to connect to Pixelpost.
Please verify Postkey and URL."

Which I´ve done, and I still get the same error. I can export 1 by 1 now, but if I select more than 1 I get this error.


Very strange, since I haven´t changed anything.

jaywilliams
02-24-2008, 10:21 PM
Terje, please enable the log file and then post the error message that the log file outputs when you try to upload more than one photo.

To enable the log file, follow the steps posted here:
http://www.pixelpost.org/forum/showthread.php?p=54567#post54567

terje
02-24-2008, 11:00 PM
Hey Jay,

thanks - here is the log file:

2008-02-25 00:59:23 +0100, INFO uploading photo /var/folders/A5/A5cqRtIxEcG2d6LQG-P5-k+++TI/-Tmp-/AB747861-C0DA-4960-A35E-9D13568479E1/arctic monkeys - nick o'malley.jpg
2008-02-25 00:59:24 +0100, WARN Pixelpost API returned error Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'malley.jpg','','','A','a:11:{s:13:\"VerboseOutput\";s:1:\"0\";s:6:\"Errors\";s:1' at line 2an error occurred writing into database


I wonder if it´s the ´in the filename that´s the reason for this?

terje
02-24-2008, 11:03 PM
Seems to work once I fixed the filename. Thanks Jay!

pascalgaut
02-25-2008, 04:06 AM
jaywilliams,

Thanks for the reply. "Minimize Embedded Metadata" is unchecked. I checked in the actual photos in pp and the Exif/IPTC keywords are present. They just don't seem to be loaded up in pp (ie. pp does not read that particular IPTC data although it seems to read other exif data fine such as camera model).

Any other ideas?

jaywilliams
02-25-2008, 04:47 AM
If you could send me a sample photo with keywords attached, I could try it on my test blog and see if I get the same results.

pascalgaut
02-25-2008, 05:16 AM
Jay,

See link: http://www.flickr.com/photos/23927380@N00/2290867558/ for an example of a photo taken straight from my pixelpost site. You can see how flickr has recognized the tags. Pixelpost does not seem to have done this...

jaywilliams
02-25-2008, 05:23 AM
Pixelpost will only detect keywords/tags from the photo if it is uploaded using the Pixelpost Lightroom Plugin. Simply uploading an a standard exported JPG photo using the traditional Pixelpost web interface will not not do this.

Hopefully that helps clarify things.

pascalgaut
02-25-2008, 07:42 AM
Jay,

Thanks, understand that. This photo was uploaded with the plugin from lightroom to pp. I just then uloaded the file from my pp test site (which was created by the plugin) to my flickr site to show you.

Do you know which part of the pp code does the mapping from IPTC keywords to pp tags?

jaywilliams
02-25-2008, 04:16 PM
The plugin uses Lightroom to extract the keywords, then the file "pp_upload.php" submits the tags as a form field. So Pixelpost handles the rest.

I did a test export with that photo, and as you can see in the screenshot below, it worked properly:
http://idisk.d3done.com/idisk/Pixelpost_Upload-20080225-111233.png

duncani
02-25-2008, 05:10 PM
Hi Jay
Is there a way to style or format the copyright info taken from the metadata?
For me it's using a really large and bold font which I'd like to style smaller so it fits in better with my site.
Thanks for the great addon it must be the best one so far!
Cheers mate
Duncan

jaywilliams
02-25-2008, 08:35 PM
After searching the web, it appears that Lightroom doesn't offer any formating options for the copyright watermark. During my searches I did come across a few "hacks" that might work, but there is definitely nothing built into LR.

Perhaps you could contact Adobe and request that they add that to the feature list.
Since Lightroom is a fairly new product, features can be added rather easily.

tomx
02-26-2008, 05:04 AM
I have the same issue here.
same version of windows/LR/Pixelpost and same error message...
looks like the LR is not making the right request out to reach the pp_upload page?

Jay, any idea?

Thank you!
Hello Jay,
Thanks for all what you do. Your plug seems to be really great, but I can't get it into work : The "MUST HAVE VALID POST KEY AND URL" comes again and again. I've been trying first with the 'bad' 1.01 version, replaced it with the 'good' 1.02, but can't find what's wrong.
I'm running XP, LR 1.3.1, Pixelpost 1.7.1.
- both pp_upload.php and admin_pp_upload.php have been uploaded to my server
- External App Upload (admin_pp_upload - version 2.1) - status: ON
INFO
Upload URL: http://xavier.boyer.club.fr/admin/pp_upload.php
Post Key: ########
- AND log file is giving ERROR OK !

any idea ?

pascalgaut
02-26-2008, 07:23 AM
Jay - thanks for helping out. Will try to look into why it's not working in my case by looking at the pp_upload code.

terje
02-26-2008, 07:41 PM
Jay, I bet you don´t hear this often enough - but you rock! Thanks so much for this addon. It´s amazing, and I have a feeling this is the future of photos on the internet.

Thanks also to the rest of the Pixel Post team. Amazing work.

jaywilliams
02-26-2008, 07:57 PM
Thanks Everyone!
I'm thrilled to hear the the addon is working great for most of you!

As for tomx, I'm not sure of the reason off hand, but if you could setup a test blog on your server and send me the Post Key/URL I can try posting from my end and see if I can figure out what's going on.

boyer.x@gmail.com
02-26-2008, 09:47 PM
Hi Jay,
coming back with my "must have a valid Post Key" message, like tomx :
try uploading pictures to my tmp blog (xavier.boyer.club.fr/pixelpost_tmp)
Database = pixelpost_tmp
PostKey = halstroc

no better results from Mac OSX.4 as from Win XP ...

thanks for trying

darr
02-29-2008, 03:57 PM
Hi Jay,

Thank you for such a time-saving plug-in. The plug-in does everything just fine for me except the thumbnails. It does produce the thumbnail, but the crop is on the left side- full frame only. When I view the thumbnail on pixelpost's default image/edit page it does not show up. Using FlashCrop, you can view the thumbnail on the page, but the edit function does not work. I am running Pixelpost 1.7.1, Firefox and Windows XP SP2. I do not experience this thumbnail problem when I upload manually to pixelpost.

Any suggestions?

Kind Regards,
Darr

Steffen
03-17-2008, 09:00 AM
Thanks for the plugin. It's been a great help and it is much appreciated.

An easy way to add the extra functionality some user have asked for (i.e. watermarking and other image processing before upload) might be to use Jeffrey Friedl's piglet manager (http://regex.info/blog/2008-01-15/692), which allows plugins within plugins . All the functionality is already there with Timothy Armes' Mogrify piglet (http://timothyarmes.com/lrmogrify.php).

I had a look at other plugins to find out how to modify your's to use the piglets. It doesn't seem too bad but not having gotten my feet wet with Lua I thought I'd rather check if you might be interested in doing it yourself.

One other thing. I do use a lot of tags with spaces (i.e. "South Pole"), which of course show up as "South" and "Pole" in pixelpost. Any chance these spaces can be automatically replaced by underscores during the upload?

Cheers,
Steff

www.Adventure-Antarctica.de (http://www.Adventure-Antarctica.de)

jaywilliams
03-18-2008, 12:08 AM
That Piglet Manager sounds very interesting. I may look into that in the future. But if you want it right away, feel free to mess around with the plugin. Once you've got it working with Piglets, send me the code and I'll release it to the world. :D

As for adding underscores for spaces, this should do the trick...

Go to your admin folder and open up pp_upload.php
On line 93, you should see something like this:

// Translate to Pixelpost format:
$_POST['headline'] = $_POST['title'];
$_POST['body'] = $_POST['description'];
$_POST['tags'] = trim($_POST['tags'],', ');

Add this code below that:
$_POST['tags'] = str_replace(" ", "_", str_replace(", ", ",", $_POST['tags']));

So it looks like this:

// Translate to Pixelpost format:
$_POST['headline'] = $_POST['title'];
$_POST['body'] = $_POST['description'];
$_POST['tags'] = trim($_POST['tags'],', ');
$_POST['tags'] = str_replace(" ", "_", str_replace(", ", ",", $_POST['tags']));

That should do it. Let me know if that works for you.

Tiestoo
03-20-2008, 09:22 AM
I got a question about resizing in LR, a little bit off-topic maybe, but I hope I can find an answer here since all the people using Lightroom in combination with Pixelpost are reading here. And I really need an answer to this question to fully use this great addon!

The problem: When using this plugin, I let LR export my image in 800x533 to PP. In my opinion LR does a bad job on resizing images. Before this great addon was published, I dealed with the fact to always export in LR to a full-res JPG, and then resize with ImageShackle (http://www.apple.com/downloads/dashboard/developer/imageshackle.html) to a 800x533 image. Sounds kind a stupid huh? Here's why:

Resized by LR:
http://farm3.static.flickr.com/2280/2299629239_7b4e0594fb_o.jpg (http://www.flickr.com/photos/blauwgestreept/2299629239/)
Resized by ImageShackle:
http://farm3.static.flickr.com/2403/2300424942_1acf600b64_o.jpg (http://www.flickr.com/photos/blauwgestreept/2300424942/)

When looking to the vertical white stripe and the little window, you can see that the free widget ImageShackle does a better job on resizing than LR! Why?
I already changed the sharpening settings in LR, but that didn't work.

Does anybody know how to change something in LR, so it resizes like ImageShackle and I can fully make use of this great addon?

duncani
03-20-2008, 10:13 AM
Hi gang, If I want to strip the ".jpg" from the title when posting would the below php code be correct?

$_POST['headline'] = str_replace(" ", ".jpg", str_replace(", ", ",", $_POST['headline']));

Please correct me as I am unsure with any php coding!!!

Many Thanks
Duncan

jaywilliams
03-20-2008, 04:24 PM
Duncan:

To strip off the .jpg from the headline, you can use this code:

$_POST['headline'] = str_replace(array(".JPG",".jpg"), "",$_POST['headline']);

duncani
03-20-2008, 04:29 PM
Nice one Jay! Thanks a lot
Duncan

e300
03-26-2008, 11:32 AM
Jay - Just installed this plugin tonight and another Big thanks!

It is easy to install and easy to use. I have only uploaded a few images so far and had no problems.

GilesGuthrie
03-26-2008, 11:20 PM
Awesome plugin!

One question: does it work with the ping-announce addon? Or is there a way to ping-announce entries made with LR after the fact?

jaywilliams
03-27-2008, 12:42 AM
It should work with any addon that doesn't require any user-intervention.

Meaning, if it "just works" when you publish photos using the web admin, it should "just work" when you publish photos using Lightroom.

However, I haven't tested that plugin, so I'm not 100% sure.

lotuseater
03-31-2008, 04:20 AM
I am having the same problem as some of the other users in that I can not get the thumbnails to work properly when I upload images from lightroom. In all other respects the plug in works fine but the thumbs come through as the image name text rather than a thumb.

Any ideas?

http://lotuseaterphotography.com/pixelpost

And thanks for the plug in it is a wonderful timesaver. Great job on this one.

jaywilliams
03-31-2008, 04:36 AM
Are you using any thumbnail plugins? Like Flash Crop?

What is your "crop thumbnails" setting set on?
http://idisk.d3done.com/idisk/Pixelpost_Photoblog_Demo_ADMIN-20080330-233619.png

lotuseater
03-31-2008, 04:55 AM
I am not using any crop plugins (should I be?)

And my crop image was originally set to NO but I just set it to YES and tried an upload and it had the same effect.

Cheers.
Ryan.

jaywilliams
03-31-2008, 05:35 AM
Ok, well, there goes my theories. :-P

Not sure why you're having those issues.

lotuseater
03-31-2008, 03:04 PM
Ok I had my chmod permissions set to 755 on the thumb nails folder. I set them to 777 and the thumbs are working now. If anyone else is having the same problems give that a try. Hope that helps.

http://lotuseaterphotography.com

ljcbraga
04-02-2008, 05:53 PM
I have the following problem. I installed the plugin and created the API code. But, when I try to export, the plugin asks for the API code and the Upload URL and it fails to connect.

I forced the plugin to write a log file, and the error is this:

4/02/2008 14:36:42 INFO calling Pixelpost API via URL: http://ljcbraga.10gbfreehost.com/admin/pp_upload.php?mode=validate&post_key_hash=aaf5f97f1fb73...
04/02/2008 14:36:42 WARN Pixelpost API returned error
OK


I'm sure I gave the actual API code and URL so the problem is not this.

BTW, I'm using Lightroom 1.3.1 and Pixelpost 1.7.1

Any idea?

jaywilliams
04-02-2008, 07:21 PM
Well, as the log file says... it returned "OK", and that means the Post Key was correct.

So it shouldn't think that is an error, which makes the whole thing all the more puzzling.

Btw, are you on running LR on Windows or Mac?

ljcbraga
04-03-2008, 04:43 PM
Jay Williams,

I'm using Windows XP.

If I use (in a browser) the link the log gave me it returns me "OK", only. No error message.

I installed Lightroom 1.4 and then I downgraded to 1.3.1 version (Adobe said to do this). Actualy after that I had a problem with the Flickr export plugin.

Should the downgrade be the problem? Shall I reinstall Lightroom? Should it be a permission problem at my host?

Thank you.

jaywilliams
04-03-2008, 05:11 PM
If the Flickr export plugin doesn't work as well then I would say its a problem with LR.

Your best bet is to wait for Adobe to release the next version. Or if you don't want to wait, you can try re-installing.

ljcbraga
04-04-2008, 12:05 AM
Jay Williams

I've reinstaled Lightroom version 1.3.1.

The Flickr plugin is now working but the Pixelpost still gives me the same error message.

What i find interesting is the "OK" after the problem description in log file.

BTW, if i right click a image in lightroom and ask to "export to pixelpost" it gives me the following error: "Oh no! It looks like we were unable to connect to Pixelpost! Please verify that your Post Key URL are ser correctly." but it UPLOADS THE IMAGE (not more then one)! It makes me think that perhaps the plugin has a misconfiguration.

This is so frustrating! I wish I could use it.

Thanks

jaywilliams
04-12-2008, 06:49 AM
ljcbraga, try upgrading to the latest Version of Lightroom (1.4.1), and let me know if how it works for you then.

ljcbraga
04-12-2008, 02:42 PM
Jay,

I've already did it. It still doesn't work. But you know, I figured out why. The problem is in my host.

As I'm a neewbie and as I not sure if I could set pixelpost up, I signed up a free host (10gbfreehost.com). They're quite alright but there are some routines that only works if you have a payed account. Probably working with APIs (outbound instructions) is one of those.

I'm experiencing the same problem with Defensio API. Carl, from Defensio, was the one who'd told me about the free hosting problem.

I've asked the host support for a solution.

I'm sorry if I bothered you with this problem and I'd like to thank you for taking your time to help me.

rgds,

Leonardo

lotuseater
04-21-2008, 05:15 AM
I noticed code in the fourm for stripping the .jpg/.jpeg off images when they are uploaded from lightroom. I was wondering if you could elaborate a bit as to where to put this code. I am pretty new to editing .php files.
Thanks.
Ryan
http://lotuseaterphotography.com/pixelpost

jaywilliams
04-21-2008, 05:38 AM
Ok, well first you will need a plain-text editor, such as Notepad, or TextEdit.

Open up the file that goes in the admin folder, it's called "pp_upload.php".

Go to line #90, you should see this code:

// Translate to Pixelpost format:
$_POST['headline'] = $_POST['title'];
$_POST['body'] = $_POST['description'];
$_POST['tags'] = trim($_POST['tags'],', ');


Just add that extra line of code below that and you should be good to go.
it should look like this when you are done:

// Translate to Pixelpost format:
$_POST['headline'] = $_POST['title'];
$_POST['body'] = $_POST['description'];
$_POST['tags'] = trim($_POST['tags'],', ');
$_POST['headline'] = str_replace(array(".JPG",".jpg"), "",$_POST['headline']);


Save the changes, and re-upload the file, and you're done!

unpackedrope
04-23-2008, 03:53 PM
Hi Jay,

I'm currently using this addon to upload shots to my blog and it's working great.

I also use klimin_a_s' <CUSTOM_FIELDS> addon to add lens details for the shots too as I believe that the lens data is stripped when exported to jpg. At the moment this means I'm uploading with pp_upload and then going into admin and adding the lens details to the custom field manually for each shot I upload.

Is there anything in the code for the module files or pp_upload that could be added to/modified so that it would transfer this data across automatically? Perhaps read it from the EXIF in Lightroom itself, or even just give me the option to select from a list of lenses when I'm in the export window of Lightroom?

Thanks for your help.

jaywilliams
04-23-2008, 04:16 PM
Well, as a Lightroom plugin, it has access to all of the photo's data, which is quite handy.

So yes, it is quite possible to modify the plugin and/or the admin code to auto-import that information.

What exact name you are using for your your Custom Field lens info.

unpackedrope
04-24-2008, 07:54 PM
Sweet!

I'm using a single custom field with the ID Name 'Lens' - see attached.

Thanks for your help.

http://i31.tinypic.com/27wt1dx.jpg
&
http://i28.tinypic.com/6syx5y.jpg

TAOG
05-08-2008, 05:59 AM
after trying some hours that plugin, it rocks.
but two extra codes disabled in my admin backend the extension tab.

$_POST['tags'] = str_replace(" ", "_", str_replace(", ", ",", $_POST['tags']));

and

$_POST['headline'] = str_replace(array(".JPG",".jpg"), "",$_POST['headline']);


booth are things, i will use. than i got also the error popup with wrong key&url. actually it works with the error message.

jaywilliams
05-08-2008, 03:03 PM
Those lines of code shouldn't break the addons page.

To find out what's causing the page not to load, add the text "errorsall" to the end of the url, like this:

/admin/index.php?view=addons&errorsall

TunaFish
05-17-2008, 03:03 PM
Hi Jay, everyone.
First of all, thanks for this supah plug Jay, no more waisting time exporting and uploading.
Now that I am waiting for my Solmeta DP-GPS N2 I needed to get the GPS data uploaded to the googlemap field with the googlemap addon and I thought I'd share my lines here..

Okay I have 3 functions for pulling the coordinates from the geotagged photo's which I placed in the
if (!isset($_GET['view'])) {


function exifToNumber($value, $format) {
$spos = strpos($value, '/');
if ($spos === false) {
return sprintf($format, $value);
} else {
list($base, $divider) = split('/', $value, 2);
if ($divider == 0) {
return sprintf($format, 0);
} else {
return sprintf($format, ($base / $divider));
}
}
}
function exifToCoordinate($reference, $coordinate) { // $coordinate is an array
if ($reference == 'S' || $reference == 'W') {
$prefix = '-';
} else {
$prefix = '';
}
return $prefix . sprintf('%.6F', exifToNumber($coordinate[0], '%.6F') +
(((exifToNumber($coordinate[1], '%.6F') * 60) +
(exifToNumber($coordinate[2], '%.6F'))) / 3600));
}
function getCoordinates($filename) {
$exif = exif_read_data($filename, 0, true);

if (isset($exif['GPS']['GPSLatitudeRef']) && isset($exif['GPS']['GPSLatitude']) && isset($exif['GPS']['GPSLongitudeRef']) && isset($exif['GPS']['GPSLongitude'])) {
return array (
exifToCoordinate($exif['GPS']['GPSLatitudeRef'], $exif['GPS']['GPSLatitude']),
exifToCoordinate($exif['GPS']['GPSLongitudeRef'], $exif['GPS']['GPSLongitude'])
);
} else {
// print "no GPS meta found...";
// return false;
return "";
}
}


Than in
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {


// GPS
$exifgps_array = getCoordinates($uploadfile);
if ($exifgps_array[0] == 0 or $exifgps_array[1] == 0) {
$exifgps_string = ""; // null
} else {
$exifgps_string = "(" . $exifgps_array[0] . ", " . $exifgps_array[1] . ")"; // lat,lon
}


And finally to get the coordinates string into the googlemap field in the database:

$query = "INSERT INTO ".$pixelpost_db_prefix."pixelpost (datetime, headline, body, image, alt_headline, alt_body, comments, exif_info, googlemap)
VALUES('$datetime', '$headline', '$body', '$image', '$alt_headline', '$alt_body', '$comments_settings', '$exif_info_db', '$exifgps_string')";

I hope this helps someone..

switters
05-24-2008, 09:21 PM
Hi Jay,

Thanks a million for such an awesome plug-in. You have made my Pixelpost life SO much easier!

Quick question: I've been fooling around with LR 2.0 Beta but haven't been able to get your export plugin to work with it. When I enter the key and upload address and hit "OK", it just takes me back to the export window and still says I need to enter a key.

Works perfectly well in 1.4.1, so I'm thinking this must be an issue with 2.0 Beta?

Thanks,
Chris

jaywilliams
05-25-2008, 04:16 AM
Thanks for the kind words Chris!

I'm glad it's working for you!

As for LR 2.0 Beta... I do have a copy of it on my computer, but I haven't had time to mess with it much. I'll probably wait until v2.0 is closer to release before I start worrying about that. :)

switters
05-25-2008, 04:40 AM
Jay,

Thanks for your reply. Is it possible to use the same key in both LR 1.4 and LR 2.0? Is it possible that the problem I'm having is due to the fact that I've already installed my key in 1.4, and I therefore can't use it with 2.0?

Just trying to figure this out, since I've really come to love 2.0 and use it most of the time now.

Best,
Chris

jaywilliams
05-25-2008, 04:43 AM
No it's definitely not the key. As you can use the same key as many times as you wish. Perhaps, if you were to enable logging, (look back a few posts to find out how to do that) you could look at the error log to see what is actually causing the problem.

switters
05-25-2008, 04:49 AM
Jay,

Do you mean enabling logging in PP like you said below: admin/index.php?view=addons&errorsall?

Or do you mean enabling logging in LR? Because it seems to be a problem from within LR. I enter the key and URL and hit okay, but nothing happens. It acts as if I didn't enter any of the information.

EDIT: what's strange is that as far as I know (and I definitely could be wrong about this), the plugin functionality isn't fundamentally different in LR 2.0 so I would expect plugins that work in 1.4 to work in 2.0.

jaywilliams
05-25-2008, 05:32 AM
Sorry, I should have been more specific. I meant enabling the log in the plugin itself.
Instructions on this can be found here:
http://www.pixelpost.org/forum/showthread.php?p=54567#post54567

switters
05-25-2008, 02:32 PM
Jay,

Thanks for the clarification. Here's the error message:

2008-05-24 16:10:44 -0700, Failed to load plugin at path /Volumes/Local/Users/switters/Library/Application Support/Adobe/Lightroom/Modules/flickr-jfriedl.lrplugin because the SDK version it requires isn't supported by this version of Lightroom

So I guess that means the plugin won't work with LR 2.0?

If that's the case, I hope at some point you get hooked on LR 2.0 like I am and update the plugin so it's compatible! :)

Thanks again,
Chris

movieshaker
05-26-2008, 08:32 PM
I just installed the plugin and I managed to upload images.
But the thumbnails and tags do not appear....
It's not the template, because it's with every template I tried.
If I upload images with the webinterface, the tags and thumbnails work well...
Any suggestions?

DMalty
05-27-2008, 03:20 AM
I'm not sure what I am doing wrong. I had downloaded the demo of Lightroom and everything worked. I then bought it, put in the serial number and now it will not resize correctly. For example, if I set the long edge to 800 pixels, it uploads a picture that is 2048 x 1371 and it says the "Oh no! error".

I loved using the plugin when I had the demo and am very confused.

Any help is apreciated!

David

switters
05-28-2008, 05:10 PM
I had been using the LR export plugin without a hitch up until this morning. All of a sudden, it started uploading the wrong image size.

Let's say I set it to upload for 600px on the shortest edge. Instead, it chooses a seemingly random size (in fact, I tried three times and it chose three different sizes, all much smaller than 600px on the short edge).

I have no idea why this might be happening. Do you, Jay?

Thanks,
Chris

mbecher
06-14-2008, 11:48 AM
First of all, thanks for the great plugin. It works almost perfectly. Actually the made my decision for pixelpost as the software to run my new photoblog (http://kolamilch.de) easy. I just have one issue with this plugin, which had been mentioned before: Images uploaded via the plugin are in Adobe RGB not sRGB. Has this issue been resolved yet?

Latest Lightroom (1.4.1) here, PP 1.7.1, and v1.0 Beta 2 for the plugin.

Thanks in advance -- marc

jaywilliams
06-14-2008, 06:13 PM
If you go to the pixelpost.lrdevplugin folder and open up the file PixelpostExportServiceProvider.lua you can comment out line number 35:


-- allowColorSpaces = { 'sRGB' },


If you add the two hyphens (--) and save the changes it should allow you to choose between AdobeRGB & sRGB when you export. Of course, I highly recommend that you stick with sRGB, as that is the current web standard.

mbecher
06-14-2008, 11:21 PM
Thanks a lot, that seems to work beautifully.

Looks like I just could not imagine that manually selecting the color profile would make a difference.

Thanks again -- marc

HiImSeth
06-18-2008, 02:55 PM
This is awesome. I was heading to bed last night after some Lightroom work and a new post on my photoblog thinking... 'I wish there was a plugin/module to export from Lightroom straight to pixelpost..' then I thought 'I bet the pixelpost.org forums already has a discussion going on about this very thing'.

Sure enough - here it is! Can't wait to check it out this evening when I get home.

Thanks in advance for your work on this, it'll be a nice time-saver.

jpons
08-03-2008, 12:09 PM
Any plans on updating this awesome plugin to work with Lightroom 2.0?

Thanks!

-J

mbecher
08-03-2008, 04:52 PM
Over here it was working out of the box after installing LR2.

ajbarickman
08-06-2008, 11:36 PM
This sounds like a great addon but I am having an issue. When I upload the file to the addons directory and then go to the admin interface the addons area is blank. If I delete the pp_upload and refresh they all show up again. I tried setting the permissions to 777 and it was no different.

Can anyone let me know what to do?

jaywilliams
08-07-2008, 04:11 AM
This sounds like a great addon but I am having an issue. When I upload the file to the addons directory and then go to the admin interface the addons area is blank. If I delete the pp_upload and refresh they all show up again. I tried setting the permissions to 777 and it was no different.

Can anyone let me know what to do?


ajbarickman,
To find out what's causing the page not to load, add the text "errorsall" to the end of the url, like this:

/admin/index.php?view=addons&errorsall

And let me know what it says is wrong.

ajbarickman
08-07-2008, 01:19 PM
Weird, just uploaded it again and now the addons all show up. Maybe a caching issue of some sort? I don't think that these two are related but now I am getting "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC limit 0,1' at line 1" on my homepage.

I see another thread on this but with no resolution, I posted here in the off chance that it might be related.

Thanks

tom
08-09-2008, 04:15 PM
I'm having a similar problem to the person who said that the plugin didn't retain their key information. I'm assuming that it's because I'm using Lightroom 2, but mbecher said it worked for their Lightroom 2 version. Any ideas? It would be fantastic to have LR2 and PP working together.

alpower
08-09-2008, 06:19 PM
Hi Jay,

Looks like in Adobe Lightroom 2.0 the plugin appears correctly, but on entering your key and URL, and clicking 'Enter Key' it does not save those values, thus the Export button is permanently greyed and the plugin cannot be used.

Any ideas?

Many thanks!
Al
Update: I enabled logging, and notices the following output:
2008-08-09 19:11:56 +0100, WARN Function LrPhoto:withSettingsForPluginDo is deprecated as of Lightroom 2.0.

No idea whether this is the culprit or not, but if it is deprecated, it should still work surely?

illwill_SE
08-10-2008, 09:39 AM
I'm experience the same problem running LR2.0 on Vista (export button not enabled). I enter the key and URL but it doesn't seem to save the settings. Can I hardcode this information somewhere in the plugin?

EQPhoto
08-11-2008, 05:50 AM
I seem to be having the same problems as other posters with LR2 and this awesome plugin. I even tried to launch LR1.4, put in the Post Key and URL, since the modules directory is shared between both. It worked properly in LR 1.4, but when I closed LR 1.4 and opened LR2, it still did not work.

FYI, I am using a MAC running OSX 1.5

TAOG
08-11-2008, 04:58 PM
workarround:

open your old lightroom1 preference file.
- search for PIXELPOST
- you found this section:
<key>sdk_org.pixelpost.lightroom.export.pixelpost</key>
<string>prefs = {
addCategories = "",
addTags = "",
allowComments = "M",
autoDate = "3",
hideFromPublic = false,
postKey = "XXXXXXXX",
privacy = "public",
privacy_family = false,
privacy_friends = false,
safety = "safe",
token = "OK",
type = "photo",
uploadURL = "http://XXXXXXXXXXX/pp_upload.php",
}

go to your lightroom2 preference file
edit the same section and replace with your lr1 section.

now it works for me.

alpower
08-12-2008, 04:40 PM
Thanks TAOG, that sorted it. Anyone else doing this remember to make sure token = "OK", is set, otherwise it won't register that you have a URL and key set.

I guess as more people start using Lightroom 2, then this will get fixed.

tom
08-12-2008, 04:51 PM
Hi,

Can anybody advise me on the best way to edit the preferences? I have Lightroom 2 installed, and whenever I open the preferences file, all my preferences/plug-ins are removed as if the preferences file is being corrupted by using Notepad.

Thanks so much.

Tom

alpower
08-12-2008, 05:05 PM
Hmmm. I'm on a mac, which has a property editor (...which doesn't help you).

I would make a copy of the properties file before you edit it just in case, and open it in wordpad instead and see if that works. In wordpad you might need to save it as type text document to preserve the formatting.

Maybe the editor is adding extra whitespace at the end of the file or something which you might have to remove?

(caveat emptor - all from memory when I last had a windows box about 2 years ago :))

HTH

tom
08-12-2008, 07:22 PM
I saw that was available on Mac - couldn't find anything similar for the PC version.

I'll try it with wordpad, see if that helps. Notepad++ didn't work either.

Thanks for the advice.

matt.pixelpost
08-18-2008, 02:45 PM
Hi Jay,

Thanks for the plugin... however, every time I open the plug in manager, the box for the 'Post Key and Upload URL' says... "ENTER KEY". I get no confirmation after entering in my info. Could you please help? I tried to find the files TAOG was mentioning in his workaround, but to no luck.

Also. The 'watermark' function, how does that work?

Thanks,
Matthew

TAOG
08-18-2008, 02:55 PM
did you read the thread? the solution is in it ;)

edit: filename and place on windows i have no ideas. i am mac user

cityeyes
08-25-2008, 01:46 AM
I'm having the same problem with the plugin using Lightroom 2.0 beta. When I type in the key and the URL, it doesn't save and the "Export" button doesn't work.

I CAN, however, upload single photos by going straight to Pixelpost export.

The fix unfortunately doesn't work for me. I don't have the settings file for the original Lightroom because I just started using the plugin. I tried copying what TAOG posted and pasting it in, as well as just adding the token, key, and URL portions of the plugin into the preference file, but it didn't work. Whenever I started Lightroom, it'd reload the preference file like it was corrupted no matter what I used.

macles
08-27-2008, 10:36 PM
Same here. I tried to edit com.adobe.Lightroom2.plist but every time I run lightroom it seems to change the preference file to default. TAOG what aplication were U using to edt the preferences I have tried Property LIst Editor (I dont know how to edit using this software) and Dashcode with no effect. Please help.

TAOG
08-27-2008, 11:09 PM
i use textwrangler on mac.

macles
08-28-2008, 06:44 AM
BIG Thanks. I used the text wrangler to edit the prefs and it's working:)

TAOG
08-28-2008, 06:46 AM
for windows ppl. use totalcommander with F4 to edit the file. i think this would help.

cityeyes
08-29-2008, 01:52 AM
for windows ppl. use totalcommander with F4 to edit the file. i think this would help.

No such luck. F4 just sent me straight to notepad and the same thing happened. Also tried Notepad++, wordpad, and textpad. The same exact thing happened. I hope the creator of the program shoots out an update sometime soon because I'm going through withdrawals and I haven't even used the program properly yet. It's brilliant.

precar
08-29-2008, 07:56 PM
Hi guys,

I'm experiencing the same problem with LR2 and this awesome plugin. I tried editing the preferences file as TAOG suggested but it did nothing. I did notice, however, that it does upload one file, even though it gives me an error afterwards. The one file seems to upload properly, with tags and exif data.

Has anyone figured out a solution this issue yet?

cityeyes
08-30-2008, 02:09 AM
Precar, my only temporary solution is to upload straight from the right click>export dialogue one by one - although that takes away the coolest feature which is the "Upload the day after the last file uploaded" thingie which would let me batch upload stuff that I take instead of going back every day.

I tried editing the preferences file with about 10 different programs and failed every time - but I have nothing to go on because I didn't ever use the program with Lightroom 1, so I don't have the original preference file.

precar
08-31-2008, 12:39 AM
So I installed Lightroom 1.4 trial version, to see if I could get the plugin to work there, and then copy the preferences over as TAOG suggested. But even there I had the same problem. The key and URL were not retained and the Export button was greyed out in the Export dialog box.

Maybe it's not an issue with LR2 but something else with the plugin?

abuethe
09-09-2008, 11:14 AM
I´m a windows guru, but I can´t seem to get this plugin to run with LR2 - Postkey and URL won´t be accepted and I dont have LR 1.4.1 to try copy/paste the prefs.
Maybe the plugin author would like to post a fixed/new version of this plugin to the world, I think a lot of people (including me, of course) would love him even a bit more.

kent
09-14-2008, 12:45 AM
I am having the same issues as above with LR2.
The export box is grayed out.

Jay -While I appreciate that this probably takes a lot of time, Are you working on a LR2 compatible version?

jaywilliams
09-14-2008, 01:12 AM
I've checked it out some, but I haven't figured out why the code isn't working in LR2 yet.

Stay tuned. ;)

cityeyes
09-17-2008, 07:51 PM
Really glad to hear that you're taking a look at it Jay. Wish I had any sort of technical prowess because I'd offer to help, haha.

darr
09-17-2008, 08:40 PM
Me too want to say thanks Jay. I have used your plug-in for a year and miss it in LR2.

Kind regards,
Darr

masgian
09-21-2008, 03:31 PM
Love the plugin but dosn't work with Lightroom 2 on Vista. Somehow the settings (key and URL) wont be saved after enetered and the export wont work.

Works in LR 1.4.1 like a charm...

Is there a fix/way for LR2.0 ?

Wave / Particle / Pi
09-22-2008, 04:12 PM
I got the following error in LR2 (with the 2.1 beta version), maybe it can be of some help if you did not find it yourself yet:

09/22/2008 18:01:45 WARN Function LrPhoto:withSettingsForPluginDo is deprecated as of Lightroom 2.0.

ljcbraga
10-04-2008, 02:47 AM
I use Lightroom 2.1 in a Windows based computer. My Lightroom Preferences folder has 2 files: "Lightroom Preferences.agprefs" and "Lightroom 2 Preferences.agprefs".

I edited the Lightroom 2 Preferences.agprefs file as TAOG wrote (I think in windows version the syntax is a little bit different):

["sdk_org.pixelpost.lightroom.export.pixelpost"] = "prefs = {\
addCategories = \"\",\
addTags = \"\",\
allowComments = \"A\",\
autoDate = \"2\",\
hideFromPublic = false,\
postKey = \"XXXXXXXXXXXXXXXXXXXXXX\",\
privacy = \"public\",\
privacy_family = false,\
privacy_friends = false,\
safety = \"safe\",\
token = \"OK\",\
type = \"photo\",\
uploadURL = \"http://XXXXXXXX/admin/pp_upload.php\",\
}\

After I edited the file, Lightroom starts as it was the first time I run it (it teaches me the lightroom features...), the plugin is there but still doesn't work.

The file I edited rolled back to it's previous version and the "Lightroom Preferences.agprefs" (which was not edited by me...) has the edited part in it.

Any idea?

Leonardo JC Braga
http://porumclick.co.cc

cityeyes
10-05-2008, 01:33 AM
Jay is working on it, so I think that's our best bet. I've been trying to do the replacement trick for some time with literally every piece of editing software that I have available to me to no avail (the same thing happens to me - the settings reset every time I mess with the file as if it's been corrupted).

Looking forward to a fix. Until then, I'll be uploading my photos one by one.

TunaFish
10-15-2008, 10:01 PM
Hey Jay, I was wondering how and where I could write a comment in Lightroom so I don't have to go logging in my site everytime to write something for a photo.
The only thing I miss..

TunaFish
10-24-2008, 11:03 PM
Just an answer to my own question..
Looks like Jason already provided this feature..
Just write your text in the Caption field in the Library module, than >metadata >save metadata to file.
This addon rocks!!!

makelovereal
10-31-2008, 01:06 PM
Funny how it's 'working' in LR2 for me, but doesn't 'want' to. If I use the export option it will upload correctly, but it will tell me that it didn't and won't save my settings for custom exports. I think it's cause of this:

PixelpostUser.lua

I know all the properties except 'token' but should there be single or double quotes around any of them?

local function notLoggedIn( propertyTable )

propertyTable.token = nil

-- prefs.nsid = nil
-- prefs.username = nil
-- prefs.fullname = nil
prefs.postKey = nil
prefs.uploadURL = nil
prefs.token = nil

propertyTable.accountStatus = LOC "$$$/Pixelpost/AccountStatus/NotLoggedIn=This plugin must have a valid Post Key & URL before it can be used."
propertyTable.loginButtonTitle = LOC "$$$/Pixelpost/LoginButton/NotLoggedIn=Enter Key"
propertyTable.loginButtonEnabled = true
propertyTable.validAccount = false

fartow
11-10-2008, 04:48 AM
Any news about this addon and LR2 ? Please!

atomicmak
11-18-2008, 04:16 PM
using LR2
it was worked based upon the hack suggested here to change settings in preference file.
but after i got home on the same laptop it stopped working

i have again did those modification in preference but same problem.

the error in LR i get is

Unable to Export:

Oh no!
It Looks Like we were unable to connect to Pixelpost! Please verify that your Post Key _URL are correct..

Though the image is getting uploaded but LR gives error..

and after one image it gets stop.
i have watermark plugin installed which actually adds watermark to the image.

please guide.

atomicmak
11-19-2008, 09:34 AM
everything is working fine.
i just want to know how to change the date of image to capture date instead uploading date ?

because what i am doing is exporting images direct from my LR and it goes along with all title caption etc but the only prblem is DATE which is going current uploading date.

and so the image sequence goes odd .

any guide ?

atomicmak
11-19-2008, 11:09 AM
i have treaked labling capture date ..

now i wish to know if there is a way to sort images by capture date ?
dislaying images by captured date not by uploaded.

the other thing i notice is the keywords (TAGS) are not fully loading from xpm/exif
i have chekced database and found there are only two three tags added with image uploaded from LR .

i have posted so many keywords into the image metadata but very few are added to PP.

how to cross check and dispaly those alongwith image ?

josemabcn
11-19-2008, 06:29 PM
With Lightroom V2.1 the plug-in don't work. The problem is mentioned in this thread, password and pixelpost post url donsen't save in the export dialog. I have Windows XP and I don't know how to change the preferences file because the options are different from MAC OS (solution mentioned by TAOG).

Helpppp please!!!!

Thanks and sorry for my English.

Jose

atomicmak
11-20-2008, 02:46 AM
jose i have LR 2.1 and my pixelpost export plugin working fine.

you do have to treak this :

go to
C:\Documents and Settings\User\Application Data\adobe\Lightroom\Preferences

Open
Lightroom 2 Preferences.agprefs

find
["sdk_org.pixelpost.lightroom.export.pixelpost"] = "prefs = {\
edit
postKey = \"Your KEY\",\
token = \"OK\",\
uploadURL = \"http://yourdomain/admin/pp_upload.php\",\

and save and start LR2.1 your are don :)

atomicmak
11-21-2008, 12:17 PM
any clues why the not all the keywords being imported in tags table in db when exporting through LR to PP ?

there are very few may be 4 or 5 keywords being imported into PP..

here is sample of one of my image i exorted to pp but non of the keywords except first four are imported in to pp..

http://www.kevincreation.com/keyword.jpg

guide me...

atomicmak
11-21-2008, 01:24 PM
Here is what i've found.

now my site shows keyword.

I have uploaded some images from my Lightroom to my local copy and test for half an hour with different setup and found that there is some keyword strippig method problem while exporting.

one image i exported sent many keyword not all.
second setn just 4 keyword
third sent 7 keywords.

here is what i am doing in Lightroom

Image1.jpg

80-400, Ahmedabad, Atomicmak, Bird, Bird Senctury, Birds, bopal, closeup, Colour, Dzinepixel, Gujarat, india, Indian Robin, Kadi, life, Mak, Mital, Mital Patel, nature, Robin, sanand

When exported the PP table has just first 4 keyword imported with image.
80-400, Ahmedabad, Atomicmak, Bird,

why it stopped after that ?

josemabcn
11-21-2008, 08:36 PM
Hi atomicmak,

Now the addon works OK, tahnks a lot.

Jose

jose i have LR 2.1 and my pixelpost export plugin working fine.

you do have to treak this :

and save and start LR2.1 your are don :)

atomicmak
11-24-2008, 02:52 AM
i have found the solution for the keyword not being imported in pp while exporting from LR.

the issue was space which triggering the block where the first keywords found with space keywords got stuck being imported from that place..

this is i am writing becuase it may help others to understand limitation.

just replace "_" with " " (spaces) ...

davewjr
12-04-2008, 09:28 PM
For LR 2.1 not saving the postkey and url for export.

Finner
12-06-2008, 06:10 AM
For LR 2.1 not saving the postkey and url for export.

This worked for me with Win LR 2.1 - manually adding in the postkey and url.
I don't know where the file 'Lightroom 2 Preferences.agprefs' is located on the Mac, but perhaps you could just do a find for it?


go to
C:\Documents and Settings\User\Application Data\adobe\Lightroom\Preferences

Open
Lightroom 2 Preferences.agprefs

find
["sdk_org.pixelpost.lightroom.export.pixelpost"] = "prefs = {\
edit
postKey = \"Your KEY\",\
token = \"OK\",\
uploadURL = \"http://yourdomain/admin/pp_upload.php\",\

and save and start LR2.1

rallyfun
12-06-2008, 08:07 AM
Mac OSX- LR 2.0 not saving the postkey and url for export.

where should I manually add postkey url?

thanks!

davewjr
12-09-2008, 06:13 AM
can't find anything for mac...i ended up in the modules folder under lightroom...didn't see anyplace to manually add my postkey info...

benjaminh
12-09-2008, 05:35 PM
Here's a temporary fix before the plugin gets updated.

1. Locate the preference file of lightroom at this location:
/users/USERNAME/Library/Preferences/com.adobe.Lightroom2.plist

2. Make a backup copy before you make changes.

3. Open the file with the Property List Editor (Comes with xcode)

4. Once open, go to File > Save As

5. Put in temp.txt and select File Format: Text Property list

6. Once done, open temp.txt with text edit and search for sdk_org.pixelpost.lightroom.export.pixelpost

7. Append as follows the 3 properties at the end

<key>sdk_org.pixelpost.lightroom.export.pixelpost</key>
<string>prefs = {
addCategories = &quot;&quot;,
addTags = &quot;&quot;,
allowComments = &quot;A&quot;,
autoDate = &quot;1&quot;,
hideFromPublic = false,
privacy = &quot;public&quot;,
privacy_family = false,
privacy_friends = false,
safety = &quot;safe&quot;,
type = &quot;photo&quot;,
postKey = &quot;KEY&quot;,
token = &quot;OK&quot;,
uploadURL = &quot;URL&quot;,
}

8. Save and open the temp.txt via the Open file option in Property List Editor. Save the file back as /users/USERNAME/Library/Preferences/com.adobe.Lightroom2.plist and make sure the format is Binary Property List.

9. Restart Lightroom and you're on your way.

reamz
12-22-2008, 06:15 AM
I am using Lightroom 2.2 and the latest version of the addon.
The problem I have is that when I export some of the EXIF data is lost
in particular I am loosing the GPS latitute and longtitute.
I have the minimize embedded metadata unchecked as well as the resize is unchecked.
Any idea what may be causing it?

reamz
12-22-2008, 03:43 PM
I am using Lightroom 2.2 and the latest version of the addon.
The problem I have is that when I export some of the EXIF data is lost
in particular I am loosing the GPS latitute and longtitute.
I have the minimize embedded metadata unchecked as well as the resize is unchecked.
Any idea what may be causing it?

Never mind i fixed it.
The issue is if you use an external tool to write the GPS data make sure you write all the GPS fields.
I have only used the Longitute, Latitude and Altitude and I was missing the LontiguteRef and LatitudeRef.
Lightroom removes the GPS data if you do not have all the GPS information.

phild
12-23-2008, 09:53 AM
Really tried hard to make it work, but no way : preferences keep reverting to default preferences, and when I try to force values, it cannot connect to the pp photoblog. (Mac, LR 2.2)

beaucamera
12-26-2008, 10:48 PM
Vista 64 installation using LR2.2.
After following installation instructions, PixelPost Admin Add-on panels says my pp_upload.php fill can't be found in admin...even though it shows up there on my website server.

What am I missing?
Any recommendations?

Virginia

robsonj
01-03-2009, 06:52 PM
Hi There,

I would love to use this plugin, but despite following the instructions, reinstalling andentering my key & upload url, the export button in the lightroom export dialog is always grayed out, any ideas? This is on OSX 10.5.6

Thank you
Jonathan

TAOG
01-03-2009, 07:03 PM
Hi There,

I would love to use this plugin, but despite following the instructions, reinstalling andentering my key & upload url, the export button in the lightroom export dialog is always grayed out, any ideas? This is on OSX 10.5.6

Thank you
Jonathan

for me, this works

http://www.pixelpost.org/forum/showpost.php?p=60696&postcount=134

robsonj
01-03-2009, 07:12 PM
Thanks for the info, where do I find the preference file?

TAOG
01-03-2009, 07:19 PM
Thanks for the info, where do I find the preference file?

take a look at ~/library/preferences/com.adobe.Lightroom2.plist

an use textwrangler. otehr editors make a mistake with the internal coding

robsonj
01-03-2009, 09:28 PM
I could only find this in the lr2 prefs, and i never installed his plugin in lr1, does this look right...

_Y/Users/jonathan/Library/Application Support/Adobe/Lightroom/Modules/pixelpost.lrdevplugin_com.adobe.lensSetting_jo nathanrobsonphotography.comVscreen _4s = {
Default = true,
["Review Status"] = true,
}

I'll paste the code in there from you rforum post if it does look right

Cheers
Jonathan

TAOG
01-03-2009, 09:32 PM
I could only find this in the lr2 prefs, and i never installed his plugin in lr1, does this look right...

_Y/Users/jonathan/Library/Application Support/Adobe/Lightroom/Modules/pixelpost.lrdevplugin_com.adobe.lensSetting_jonath anrobsonphotography.comVscreen _4s = {
Default = true,
["Review Status"] = true,
}

I'll paste the code in there from you rforum post if it does look right

Cheers
Jonathan

copy and paste my sectin from post. change the parts with XXXXX with yours.

place it ad the end of the config file.

<key>sdk_org.pixelpost.lightroom.export.pixelpos t</key>
<string>prefs = {
addCategories = "",
addTags = "",
allowComments = "M",
autoDate = "3",
hideFromPublic = false,
postKey = "XXXXXXXX",
privacy = "public",
privacy_family = false,
privacy_friends = false,
safety = "safe",
token = "OK",
type = "photo",
uploadURL = "http://XXXXXXXXXXX/pp_upload.php",
}

robsonj
01-04-2009, 12:57 AM
Thanks for the info, I tried that and it wiped out all of my preferences. I think I'll give up and wait until the bug is fixed, thanks though anyway.

robsonj
01-04-2009, 01:02 AM
Sorry, I should have read your email, I tried using TextWrangler and everything worked fine!! Thanks again for the help!

TAOG
01-04-2009, 10:30 AM
nice :) one happy ppl in this year :D

Hector
01-07-2009, 08:21 PM
I have read all the thread... and I still can't get it working in lightroom 2.2. But if I use export directly to the preset... I can use it but the dialog for entering the key and url always appears... after entering the info.. it exports it well... because this way doesn't need to press the button that is grayed out. But I have to enter URL and key every time... I would love to fix it to save the key. Thanks!

Hector
01-07-2009, 09:19 PM
oh... if I don't enter to the Export dialog.. it saves the key and url.... as many times I want... I can exit lightroom and enter again and export another one.... With the "Export with preset"..... But if I enter to the "Export..." dialog... the url and key are reseted somehow... and then I can't export because the button is grayed out. but if I save a preset and cancel and then use the Export with preset.. I enter again the key and url and it is saved forever again until I enter to the export dialog..... by the way.... it seems I can't type a ENTER here in this forum...

kimusan
01-12-2009, 09:46 PM
Ok I have struggled a bit to get this to actually work in LR2.1 but finally found a solution. The fix given previously in the thread actually works, except that it fails to mention one thing. The first character on each of the lines you add to the prefs file is not a tab and it is not whitespaces. It is some other special character and you have to copy it from one of the other config lines in order to get it to work. if you use spaces or tabs, then LR will just remove the new lines without reading them.

Hector
01-13-2009, 04:15 AM
thanks for the tip kimusan
I also discovered my error was editing the config file while lightroom was open... so when I exited lightroom the file was overwritten and then unchanged.
now it works :)

jaywilliams
01-15-2009, 01:39 AM
Thanks to the hard work of fellow Pixelpost user Richard Taylor (http://farrago.org/), the Adobe Photoshop Lightroom Export Plugin now support Lightroom 2.0!
Be sure to send him a kind e-mail thanking him for all his work to make this happen!

So what are you waiting for? Download it now! (http://www.pixelpost.org/extend/addons/adobe-photoshop-lightroom-export-plugin/)

Note: If you're one of the people using Lightroom 1, just stick with the old plugin, don't upgrade, as this new version only works with Lightroom 2

Hector
01-16-2009, 01:43 PM
great news Jay :)
just now that I figured out how to fix the previous version. hehe.
Thank you!. it is a very useful addon.

kimusan
01-16-2009, 08:43 PM
anything new besides the LR2 support in the latest version ?

jaywilliams
01-16-2009, 08:55 PM
Nope, its the same addon, just with Lightroom 2 support.

VilleK
01-18-2009, 06:24 PM
i have found the solution for the keyword not being imported in pp while exporting from LR.

the issue was space which triggering the block where the first keywords found with space keywords got stuck being imported from that place..

this is i am writing becuase it may help others to understand limitation.

just replace "_" with " " (spaces) ...

Hi,

What files did you modify to get this done? I have the same problem.

Thank you for help!

VilleK
01-21-2009, 07:03 PM
Hi,

What files did you modify to get this done? I have the same problem.

Thank you for help!

Now I noticed that the keywords infact are transferred. They are just not displayed in my Switch template. Need to figure out where that problem then lies..

lotuseater
01-24-2009, 01:01 AM
Hey first off thanks for getting this plugin working for Lightroom 2. It is a real godsend and I know a lot of people are very happy to have full functionality back.

I noticed that upon installing the new version of the plugin to my Lightroom file structure, the editing I previously did to admin/pp_upload.php to strip the .jpg from the title of the photo is no longer working. I didn't replace the pixelpost file structure from the former version, only the Lightroom structure.

Any ideas?

Thanks in advance.

Ryan Chappell
www.ryanchappell.com (http://ryanchappell.com)

TAOG
01-24-2009, 11:09 AM
after update my plugin version, i got always the key and upload request on export.
i downgrade now, to see, if i made an error or the new plugin does not the same, like the older one with my modification.

jaywilliams
01-24-2009, 10:01 PM
You should be able to use your same modified pixelpost php files, as they were not changed, only the Lightroom plugin itself was changed.

TAOG
01-26-2009, 05:52 PM
after try something, incl. the older version, none version let me upload to my site.
i reinstall booth, pixelpost script and lightroom plugin. i got always a request with my password and upload url.
i tunred off all traffic management, incl little snitch etc.
flickr upload works, but pixelpost not enemymore.

any ideas?

TAOG
01-26-2009, 10:32 PM
problem solved. my fault.

atomicmak
01-28-2009, 09:22 AM
i have one questions.

i have made some images out of lightroom with photoshop addition and watermark things..

now i have loaded them in lightroom to upload to pixelpost..

the issue is

ex. 1 image of 200kb 800x571 pixel dimension loaded in to Lightroom and if i export to pixelpost from lightroom the file uploaded to my site becomes 600kb..

is there a way i can use just simple uploader instead re images compression using and with all exif details loaded ?

jaywilliams
01-28-2009, 01:25 PM
With Lightroom, when you export you create new a file, there is no way to have it passthrough a file, unchanged. That being said, couldn't you simply save your modified image as a PSD or TIFF file, and store that in Lightroom, then when you export the file to Pixelpost as a JPG, you could adjust the compression slider until you're happy with the quality and size. Lightroom also allows you to "Minimize Embedded Metadata", which should strip out the EXIF data, along with the other included metatada, such as title and caption.

Let me know how that works out for you.

devo
02-10-2009, 05:21 PM
Hello Jay,

after going through this thread, I didn't found a real advice to the problem, that Lightroom 1.3 doesn't accept a valid Post key and URL. (btw: The firewall-adjustment for Lightroom has access to the internet.)
I use the Plugin Version 1.0.2ß.. I don't know, what to do anymore.
It would be sooo cool if it would work...

Thank you in advance,
devo.

jaywilliams
02-10-2009, 06:19 PM
Could you post a screenshot, or copy-paste the actual error that it tells you?

devo
02-10-2009, 06:52 PM
The Message is:
oh no! It looks like we were unable to connect to Pixelpost.
Please verify that your Post Key Url are set correctly

That's it.

Any idea?

Ah... by the way... in your installation instruction you wrote, that on Windows XP the folder "Modules" can be found at WINDOWS XP: C:\Documents and Settings\{your_username}\Application Data\Adobe\Lightroom\Modules\

I could find only this: C:\Documents and Settings\{your_username}\ ... nothing further

On my harddrive the "Modules" folder is here: D:\Programme\Adobe\Adobe Photoshop Lightroom 1.3\Modules

Is this the problem?

tilos
02-12-2009, 09:24 PM
"The Message is:
oh no! It looks like we were unable to connect to Pixelpost.
Please verify that your Post Key Url are set correctly

That's it...."
Its same for me,no idea. Anyone?

tilos
02-12-2009, 09:34 PM
Errrr sorry guys,its actually works,but the error message just come up every time when I post a picture... then I just reloaded my page,all the stuff was uploaded properly. So its probably a minor bug.

TunaFish
03-08-2009, 11:27 PM
Haya Jay, great to see this update! No more fiddling around with LR prefs file.

A question about the addon upload url... I have a password protected site and tried with:
http://login:password@www.mydomain.com/admin/pp_upload.php

but no success.. Is this possible you think?
Right now I just disable the protection when uploading images, but it would be easier without having to go to my cPanel first.

Cheers, Anton

jaywilliams
03-09-2009, 04:45 AM
There is no easy way around this, besides possibly adding an exception in your .htaccess file for the pp_upload.php file, or perhaps even your IP address. That way LR could always access the site.

TunaFish
03-09-2009, 01:40 PM
Yep, I wrote another .htaccess file in the admin directory with:

<Files "pp_upload.php">
Allow from all
Satisfy any
</Files>

Thanks Jay!

jaywilliams
03-09-2009, 02:35 PM
Great Job Anton, you should be good to go now!

geoff
03-13-2009, 05:55 PM
I'm having trouble getting this to work with Lightroom 2.3 (havent tried it before 2.3). When exporting in LR I only get the window "Make sure you have entered the postkey and url correctly" over and over even though I've entered them exactly as they show up in the addons page.

Wave / Particle / Pi
03-13-2009, 06:00 PM
Same problem as geoff here (pixelpost 1.7.1)

TAOG
03-13-2009, 07:08 PM
for me, the addon works fine with 2.3

geoff
03-14-2009, 10:04 AM
Anyone.. I would love getting this to work, but right now Im stuck. The upload URL and postkey is saved correctly in LR (2.3) but when I press export the window "Enter your pixelpost key" just pops up (with URL and key already in place).

Some more info about my setup:

You are running Pixelpost version: 1.7.1 (Better than Ever) - January 2008
URL http://kling.mine.nu/admin/index.php
PHP-version 5.2.8-pl1-gentoo (Pixelpost's min requirement: PHP version: 4.3.0 )
Session save path /tmp
MySQL version 5.0.70-log (Pixelpost's min requirement: MySQL: 3.23.58 )
GD-lib bundled (2.0.34 compatible) with JPEG support
File Uploads to Pixelpost site are possible.
Server Software Apache
EXIF Pixelpost is using exifer v1.5 for EXIF-information.
Guessed imagepath: /home/robert/www/images/
Configured Imagepath: ../images/
Guessed thumbnailpath /home/robert/www/thumbnails/
Configured Thumbnailpath ../thumbnails/
Image Directory: OK - Can we write to the directory? YES. Current CHMOD: 0777
Thumbnails Directory: OK - Can we write to the directory? YES. Current CHMOD: 0777
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK

External App Upload (admin_pp_upload - version 2.1) - status: ON
INFO
Upload URL: http://kling.mine.nu/admin/pp_upload.php
Post Key: XXXXXXXXXXXX
Auto-Create New Categories: false

marsviolet
03-17-2009, 08:58 PM
i've had the same issues with 2 different host providers/servers.
Also, i've tried dreamweaver, filezilla and flashFXP...

This worked for me:
extract lightroomexportv2b2.zip in cPanel's file manager
move files accordingly in there
delete the pixelpost.lrdevplugin folder and installation txt file.

gdi
04-06-2009, 12:33 AM
I tried hard but could not find an answer in the thread so I'll ask...

I am able to get into export and see LR uploading, but then I get the "Oh no!
It looks like we were unable to connect to Pixelpost! Please verify that your Post Key & URL are set correctly." Message. I do not get the Logon dialog Box - it just stops at that point.

After turning on the log, I see this message:
"2009-04-05 20:24:52 -0400, WARN Function LrPhoto:withSettingsForPluginDo is deprecated as of Lightroom 2.0."

This function is in "PixelpostUploadTask.lua" in several places. I can't see how the plugin is working for anyone if the function no longer exists, maybe it is because I am running LR 2.3? Any help is appreciated!

Here are my specifics:

Mac OS X Leopard
PixelPost 1.7.1
LR Export Plugin 2.2beta
Lightroom 2.3

Thanks!

alexmoomey
04-07-2009, 08:51 PM
this addon worked great for me.. i was surpised. worked right the first time. And thats the first time thats happended with addons. woo hoo

gdi
04-07-2009, 11:06 PM
I really can't see how the script could work with invalid an function in it.

Thanks

jwyckoff
04-16-2009, 07:03 PM
First off *ABSOLUTELY GREAT ADDON*!!!

Quick question, and sorry if you've answered this already. It's very hard to search with multiple conversations in one thread!

Question: how do we configure the plugin to address two-word keywords?

Examples: United States, Jason Wyckoff, Macro Photography

Wrong Results: United, States, Jason, Wyckoff, Macro, Photography

Expected Results: United States, Jason Wyckoff, Macro Photography

(LR 2.3 to PP 1.7.1)

TIA!,
Jason

duncani
04-17-2009, 10:53 AM
Hi Jason,
Try using a underscore. ie United_States, Jason_Wyckoff, Macro_Photography
it works for me!

jwyckoff
04-17-2009, 03:39 PM
Try using a underscore. ie United_States, Jason_Wyckoff, Macro_Photography
it works for me!

Yeah - I know that's an option in my tagging in Lightroom, but I'm *sure* there's a better way to fix it in the LR->PP plugin.

rymus
04-26-2009, 11:36 PM
great plugin and if I can make it work with my lightroom workflow, it stands to save me a fortune of time and messing around with files and uploads.

One thing though. In lightroom I have my blog categories setup as keywords so I can apply them to photos as I process. However I see that the plugin treats lightroom keywords as pixelpost tags. Can I alter this to have lightroom keywords treated as pixelpost categories and enter my pixelpost tags in the categories spot in the export dialog?

Thanks to all for the work on this plugin, hope I can make it work for me.

rymus
04-27-2009, 08:33 AM
may have sorted it..

changed in PixelpostUploadTask.lua, changed tags1 to the same as tags2 (exportParams.addTags) and changed

local categories = photo:getFormattedMetadata 'keywordTags'

Don't have my mac with me now to test it, but will report back later on with the progress.

rymus
04-27-2009, 05:20 PM
Yep, that sorted it. Just shuffled around a few variables in PixelpostUploadTask and am now using lightroom keywords as categories in pixelpost uploader.

AlanRossiter
04-28-2009, 06:08 PM
I've been trawling this forum for an answer to the error I've got but with no reasonable fix yet. The error I'm getting is:

04/28/2009 19:01:17 INFO uploading photo C:\Documents and Settings\admin.ADMIN-F07F2F62D\Local Settings\Temp\42348CEC-114F-44C1-8366-DF2189B9AD56\Penny for your thoughts.jpg
04/28/2009 19:01:17 WARN Pixelpost API returned error

Running LR 2.3, Pixelpost 1.7.1, URL & Postkey are copy/pasted from addons page and Date Time is set as now.

All I'm getting is the "Oh no" error suggesting the postkey or URL are wrong.
I've also added the code below to the htaccess file as suggested.

<Files "pp_upload.php">
Allow from all
Satisfy any
</Files>

I'd really, really like this to work.

Tilnox
05-10-2009, 07:39 PM
i need this to work.. this is a great addon and it doens't work on my computer WHYYYYYY?

i've done everything!
----------------------------------------------------------------------------------------

pixelpost version:
You are running Pixelpost version: 1.7.1 (Better than Ever) - January 2008
Latest Pixelpost version: You have the newest version of Pixelpost!

-------------------------------------------------------------------------------
addon version
http://www.pixelpost.org/extend/addons/adobe-photoshop-lightroom-export-plugin/
---------------------------------------------------------------------------------------
External App Upload (admin_pp_upload - version 2.1) - status: ON

INFO

Upload URL: http://marabarros.com/diariamente/admin/pp_upload.php
Post Key: marabarros
Auto-Create New Categories: false

Settings can be changed by editing the file 'pp_upload.php' located in the Admin folder.

Created by Jay Williams (myd3.com)
------------------------------------------------------------------------------
the file: pp_upload.php in the folder admin


<?php


// EXTERNAL APP UPLOAD v2.1
// For use with the Pixelpost Uploader & Lightroom Plugin
// Created by: Jay Williams <myd3.com>


/**
* This is the "master password" that allows external apps to upload photos to Pixelost.
* Make sure the key is LONG and hard to guess. You can always copy-paste the key into
* the application you are wanting to use if it is too long to type.
*
* For a good post key, check out this site: https://www.grc.com/passwords.htm
**/
define("POSTKEY", "marabarros");

/**
* When you enter categories, you can have the application automatically create
* new categories if the one you entered does not exist. To enable this feature,
* change the text from false to true.
**/
define("CREATECAT", false);
---------------------------------------------------------------------------------
file admin_pp_upload.php on addon folder


<?php

// EXTERNAL APP UPLOAD v2
// For use with the Pixelpost Uploader & Lightroom Plugin
// Created by: Jay Williams <myd3.com>









////////// THE POSTKEY CAN BE SET BY EDITING THE PP_UPLOAD.PHP
////////// FILE LOCATED IN THE ADMIN FOLDER










if($_GET['view'] == 'addons'){
$pp_upload = include("../admin/pp_upload.php");

if(CREATECAT == true){
$pp_createcat_status = "true";
}else{
$pp_createcat_status = "false";
}

if(!$pp_upload){
$pp_pp_upload_status = "<strong>ERROR! Can not find the file 'pp_upload.php' in the admin folder!</strong><br /><br />";
}else{
$pp_pp_upload_status = "<strong>Upload URL:</strong> {$cfgrow['siteurl']}admin/pp_upload.php<br />
<strong>Post Key:</strong> ".POSTKEY."<br />
<strong>Auto-Create New Categories:</strong> $pp_createcat_status<br />";
}
}



$addon_name = "External App Upload";
$addon_description = "<p><strong>INFO</strong><br /><br />
$pp_pp_upload_status
</p>
<p>
<em>Settings can be changed by editing the file 'pp_upload.php' located in the Admin folder.</em>
</p>


<p>Created by Jay Williams (<a href=\"http://myd3.com/\">myd3.com</a>)</p>
";
$addon_version = "2.1";

add_admin_functions('categories_header','admin_htm l_head','','');
// your function to show a new page under a submenu in admin panel


function process_categories_trim(&$value)
{ // Trim each element of the array
$value = trim($value);
}

function process_categories($tags){

// strip bad characters
$tags = ereg_replace('[^[:space:]a-zA-Z0-9,]', '', $tags);
// remove extra spaces
$tags = preg_replace('/\s\s+/', ' ', $tags);
// remove spaces on front or back
$tags = trim($tags);
// convert spaces to an array
$tags = split(',', $tags);

// run trim on each element of the array
array_walk($tags, 'process_categories_trim');

// remove any blanks
foreach($tags as $key => $value) {
if($value == "" || $value == null || $value == " ") {
unset($tags[$key]);
}
}
// remove any duplicates
$tags = array_unique($tags);

sort($tags);

return $tags;

}

function categories_header(){
/*
echo "<pre>";
var_dump(process_categories($_GET['categories']));
echo "</pre>";
*/
global $cfgrow ,$pixelpost_db_prefix;
if($_GET['x']=="save" and isset($_POST['categories']))
{

if (isset($_POST['categories'])){
$tags = process_categories($_POST['categories']);
#echo "Pass #3 of 3<BR>\n";
# echo "EXECUTE MYSQL TAGS!!!";
unset($_POST['category']);

$categories = categories_array(false);

$i = 0;
while($i < count($tags)){
$cat_id = array_search(strtolower($tags[$i]), $categories);
if($cat_id){
$category[] = $cat_id;
}elseif(CREATECAT == true){
$query ="INSERT INTO ".$pixelpost_db_prefix."categories(id,name) VALUES(NULL,'".$tags[$i]."')";
$result = mysql_query($query) || die("Error: ".mysql_error());
$cat_id = mysql_insert_id();
$category[] = $cat_id;
}
$i++;
}

// subsetude tags for categories
$_POST['category'] = $category;

}
}

}

function categories_array($alpha)
{
global $pixelpost_db_prefix;

$query = mysql_query("select * from ".$pixelpost_db_prefix."categories order by id asc");

$i = 0;


if($alpha == true){

while ($row = mysql_fetch_array($query, MYSQL_ASSOC)) {
$categories[$i] = $row["name"];
$i++;
}
sort($categories);
return $categories;

}else{

while ($row = mysql_fetch_array($query, MYSQL_ASSOC)) {
$categories[$row["id"]] = strtolower($row["name"]);
}
return $categories;


}

}


?>
------------------------------------------------------------------------------------



what am i doing wrong???
it stills says "oh no! ..unable to connect.. postkey url not correctly"
*crap*