pigallery2 icon indicating copy to clipboard operation
pigallery2 copied to clipboard

URL shortener for sharing

Open sakhnik opened this issue 2 years ago • 7 comments

Is your feature request related to a problem? Please describe. I always need to copy URL into another service to get a shorter link, for instance, bit.ly.

Describe the solution you'd like I'd like to get a short link suitable for sharing with another mobile device.

Describe alternatives you've considered (optional) Otherwise, I'll still have to do that manually again: copy URL, shorten it on another site etc.

sakhnik avatar May 10 '22 18:05 sakhnik

I will consider adding this. Also i do not think the sharing url is that long. The length of it depends on your domain, which the app cannot control.

bpatrik avatar May 14 '22 13:05 bpatrik

The domain is really simple, just an IP address in my VPN. But the path to the media is sometimes ugly because of how I organize the gallery, not to mention it's mainly in Cyrillic. So when I copy and paste the address into WhatsApp or whatever IM app, it almost never recognises it as a URL. Anyway, much appreciated!

sakhnik avatar May 14 '22 13:05 sakhnik

If you hit the share button, you should have a link like https://<your domain>/share/a8s31134 (given that you protect your gallery with a password, otherwise sharing is not supported).

If you just copy the url then indeed it can be a bit long.

bpatrik avatar May 14 '22 17:05 bpatrik

Interesting, I don't see the share button. It's just download, info, full screen, close. I'm running version 1.9.3. Is it something new or am I missing it? Oh, I see. I can share a directory, but not individual files. Is there a chance to get sharing of particular photos, and videos?

sakhnik avatar May 14 '22 17:05 sakhnik

You need to enable sharing in the config. It's a pretty old feature.

Again it only available if you protect your gallery with a password

-- Sorry for being brief, sent from my phone.

On Sat, 14 May 2022, 19:18 Anatolii Sakhnik, @.***> wrote:

Interesting, I don't see the share button. It's just download, info, full screen, close. I'm running version 1.9.3. Is it something new or am I missing it?

— Reply to this email directly, view it on GitHub https://github.com/bpatrik/pigallery2/issues/489#issuecomment-1126778932, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZKA5QNINOIMXF5ABQ4QR3VJ7N4PANCNFSM5VSNJRMA . You are receiving this because you commented.Message ID: @.***>

bpatrik avatar May 14 '22 17:05 bpatrik

I see. So having the ability to share individual files would be just what I need.

sakhnik avatar May 14 '22 17:05 sakhnik

Someone just opened a Issue for that #497

bpatrik avatar Jun 13 '22 14:06 bpatrik

lets continue it on https://github.com/bpatrik/pigallery2/issues/497

bpatrik avatar Jan 11 '23 23:01 bpatrik

Again it only available if you protect your gallery with a password

It seems that the current version (1.9.5) allows to share albums without passwords, even though the option Enables password protected sharing links is enabled. Is this on purpose or a newly introduced bug? See also issue #607

kagahd avatar Feb 20 '23 10:02 kagahd

Hi, Accidental sharing creation is indeed sounds to be a bug.

I think the app should print if there is any active sharing available for the folder in view.

Once I get some more time to work on this app, I'll look into it.

Also to the app's defense the sharing key is only known within the app and those who you share with. I don't see how is it significantly stronger if you protect the link with a password and the Send the password over with the link itself.

-- Sorry for being brief, sent from my phone.

On Mon, 20 Feb 2023, 11:22 Kay Agahd, @.***> wrote:

Again it only available if you protect your gallery with a password

It seems that the current version (1.9.5) allows to share albums without passwords, even though the option Enables password protected sharing links is enabled. Is this on purpose or a newly introduced bug? See also issue #607 https://github.com/bpatrik/pigallery2/issues/607

— Reply to this email directly, view it on GitHub https://github.com/bpatrik/pigallery2/issues/489#issuecomment-1436699758, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZKA5RAZHBMQKEEZXXYYTDWYNAXJANCNFSM5VSNJRMA . You are receiving this because you modified the open/close state.Message ID: @.***>

bpatrik avatar Feb 20 '23 10:02 bpatrik

@bpatrik thanks for your quick reply. Please let's continue in #607 because this issue is already closed whereas #607 addresses the bug directly.

kagahd avatar Feb 20 '23 11:02 kagahd