dropit icon indicating copy to clipboard operation
dropit copied to clipboard

Imgur Like

Open sebastienserre opened this issue 4 years ago • 10 comments

Hello, It would be great if a link with preview would be available on an image upload to make an Imgur Like and share picture easily.

Hope it should be possible soon.

sebastienserre avatar Aug 31 '19 19:08 sebastienserre

When uploading an image and sharing it, you already see the preview https://nextcloud.kaminsky.me/s/TpzADExDggJeWpw

tobiasKaminsky avatar Sep 02 '19 08:09 tobiasKaminsky

Not on my install: https://cloud.thivinfo.com/index.php/s/Qf7WXpsNwejPzQ5

sebastienserre avatar Sep 02 '19 08:09 sebastienserre

Strange, in normal web view (when logged in), do you see a preview for the same image?

tobiasKaminsky avatar Sep 02 '19 09:09 tobiasKaminsky

Sorry for the late answer. I see the preview but only for .jpg, if I upload a PNG, I haven't.

sebastienserre avatar Oct 24 '19 05:10 sebastienserre

Have you enabled PNG preview in your config.php? Is PNG preview working in regular web ui?

tobiasKaminsky avatar Oct 24 '19 06:10 tobiasKaminsky

I don't know how to enable. The preview for PNG doens't work.

sebastienserre avatar Oct 24 '19 06:10 sebastienserre

https://docs.nextcloud.com/server/17/admin_manual/configuration_server/config_sample_php_parameters.html#previews

tobiasKaminsky avatar Oct 24 '19 06:10 tobiasKaminsky

Thx, I added

  'enable_previews' => true,
  'enabledPreviewProviders' => array(
        'OC\Preview\PNG',
        'OC\Preview\JPEG',
        'OC\Preview\GIF',
        'OC\Preview\HEIC',
        'OC\Preview\BMP',
        'OC\Preview\XBitmap',
        'OC\Preview\MP3',
        'OC\Preview\TXT',
        'OC\Preview\MarkDown'
  ),

as in the doc but syill no preview for gif or png. Is the 'preview cron' need to work?

sebastienserre avatar Oct 24 '19 06:10 sebastienserre

please close if resolved

mathieu-aubin avatar Dec 22 '19 23:12 mathieu-aubin

Sorry but not resolved, I do not see any preview*

sebastienserre avatar Jan 14 '20 19:01 sebastienserre