2 Replies Latest reply on Jul 5, 2010 11:05 PM by areohbee

    export plugin - forcing specific image size

    Dohver Level 1

      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.