lightroom

Disable Cookies in Rails 3.x app

帅比萌擦擦* 提交于 2020-01-15 01:24:13
问题 Is there a way to disable all cookies for a Rails app? Or preferably on a controller by controller basis? My problem is regarding access of a Rails JSON api by an Adobe Lightroom plugin. Apparently the presence of any cookie data in the response from the server causes an error in Lightroom. 回答1: In the controller you want to avoid cookies, add this: after_filter :skip_set_cookies_header def skip_set_cookies_header request.session_options = {} end If you have a set of api controllers, set this

How to use HMAC in Lua - Lightroom plugin

梦想的初衷 提交于 2019-12-21 17:36:59
问题 First thing I have to mention is I'm really really new to Lua and please be patient if you think my question is too dumb Here is my requirement I need to use HMAC-sha256 for Lightroom plugin development as I'm using that for security. I was trying to use this but with no luck https://code.google.com/p/lua-files/wiki/hmac These are the steps I followed Got the code of https://code.google.com/p/lua-files/source/browse/hmac.lua and saved as 'hmac.lua' file in my plugin directory Got the code

How to read Lightroom keywords from image file using PHP?

给你一囗甜甜゛ 提交于 2019-12-10 16:16:55
问题 I have a photo community (www.jungledragon.com) that allows users to upload photos. My platform is PHP/CodeIgniter. As part of the upload process I'm already reading EXIF info using PHP's exif_read_data function, which works fine. I read camera details and show these on an info tab. On top of that, user's are expected to manually set the photo title, description and tags on the website after uploading the photo. However, some users manage these fields in their image management program, for

How to use HMAC in Lua - Lightroom plugin

♀尐吖头ヾ 提交于 2019-12-04 09:27:00
First thing I have to mention is I'm really really new to Lua and please be patient if you think my question is too dumb Here is my requirement I need to use HMAC-sha256 for Lightroom plugin development as I'm using that for security. I was trying to use this but with no luck https://code.google.com/p/lua-files/wiki/hmac These are the steps I followed Got the code of https://code.google.com/p/lua-files/source/browse/hmac.lua and saved as 'hmac.lua' file in my plugin directory Got the code from this https://code.google.com/p/lua-files/source/browse/sha2.lua and saved as 'sha2.lua' file Now in

AppleScript: Lightroom 5: action “AXShowMenu” in Smart Collection panel does not show context menu

纵饮孤独 提交于 2019-12-04 06:30:20
问题 We are developing a simple automatization tool using Lightroom 5 (the newest version of the CC) using Applescript. For some actions, we need the context menu in the Smart Collections panel, for example to import Smart Collection descriptions. According to the documentation and various sources here on stackoverflow and elsewhere, AXShowMenu should bring up that menu. So far, I have not been able to make that context menu pop up. Using UIElementInspector and UI Browser, I located the element

AppleScript: Lightroom 5: action “AXShowMenu” in Smart Collection panel does not show context menu

谁说胖子不能爱 提交于 2019-12-02 10:26:54
We are developing a simple automatization tool using Lightroom 5 (the newest version of the CC) using Applescript. For some actions, we need the context menu in the Smart Collections panel, for example to import Smart Collection descriptions. According to the documentation and various sources here on stackoverflow and elsewhere, AXShowMenu should bring up that menu. So far, I have not been able to make that context menu pop up. Using UIElementInspector and UI Browser, I located the element which does have the AXShowMenu action attached. Based on the code provided by UI Browser, I got the