I'm trying to find information on how to create a plugin for lightroom to publish photos to my website. Anyone know where I can get info?
I'm using django for my website if that matters.
There are two parts to this question: (1) how to write Lightroom plugins and (2) how to write a plugin that can publish photos (so, make an http request to upload a photo to a website).
You can find general information about writing Lightroom plugins on Lightroom Dev Center. This post on my blog may provide a simple starting point as well.
The example in the blog post may be helpful for another reason: it uses luasocket library that you will need to access to publish photos. Here is an example of how HTTP POST request can be made using this library. Note that the solution in the blog post includes this line package.loaded.socket = import "AgSocket"
(executed in a module, not in a plugin), which preloads luasocket and makes it available to socket.http
module.