support I18n for photos
put photo upload limits to JS Uploader