Hi - I'm trying to change the sample FTP upload plugin so that it does not give the user the option of setting an image size but instead forces a maximum height and maximum width of 675 pixels. I've figured out how to hide the 'image settings' option in the export dialog but have gotten nowhere with trying to enforce the image size.
I have added this into FtpUploadServiceProvider.lua but it doesn't work:
updateExportSettings = function( exportSettings )
exportSettings.LR_size_maxHeight = 675
exportSettings.LR_size_maxWidth = 675
Any help would be greatly appreciated.
Ok, I just tried it without hiding the imageSettings section and it worked. Is there a way I can force the image size while hiding the imageSettings section? It doesn't make sense from a user stand point to be able to enter in a size but then have that overridden behind the scenes.
I found that I had to schedule a new export session in order to have new export parameters take effect - or I least thats what I did and it worked. I have a web plugin that schedules a separate export for each size: thumbnail, + bigger, ... Dunno if there's a better way.