Disable opening images on click

Nextcloud version : 21.0.0
Operating system and version : Debian Buster 10
Apache or nginx version: Apache 2.4
PHP version: `PHP 7.4

The issue you are facing:

It is possible to disable opening Pictures in the Filebrowser when click it? So i would just download the Image when click it.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Upload an image
  2. Click on a image
  3. image will be open in the browser

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'enable_previews' => false,
  'enabledPreviewProviders' => [],
  'check_for_working_wellknown_setup' => false,
  'auth.webauthn.enabled' => false,
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => '***',
  ),
  'datadirectory' => '/data/nc',
  'dbtype' => 'mysql',
  'version' => '21.0.0.18',
  'overwrite.cli.url' => '',
  'htaccess.RewriteBase' => '',
  'dbname' => '',
  'dbhost' => '',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'mail_from_address' => 'noreply',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '',
  'mail_smtphost' => 'localhost',
  'mail_smtpport' => '25',
  'default_phone_region' => 'DE',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'overwriteprotocol' => 'https',
  'preview_max_x' => 1024,
  'preview_max_y' => 768,
  'preview_max_scale_factor' => 1,
  'redis' =>
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
);

Kind regards
Oliver

Have you tried to disable the Photos app, which is usually been used to display images?!

yes, i have tried but has not works :frowning:

In which app are the images opened if you disable the Photos app ?