Page 1 of 1

Posting pics

Posted: Tue Apr 16, 2024 8:45 pm
by Grogan
We've got pretty good image/attachment posting facilities here in phpBB and I have it so you can post relatively large images. The board will scale them, but the data is still there if you right click and view the image in a new tab.

However, I've also got a Coppermine photo gallery on my .org domain that we can use. It's handy for posting pictures in an album interface then posting a link to the album.

While I don't require it, https: should work for anything here too. I have certs installed, though they have to renew every 3 months.

http://www.mikeserv.org/coppermine/

It's completely separate registration though.

I'm (hopefully) going to be redoing my lame website with a Joomla CMS and then there will be better link navigation to the forum and gallery etc.

Re: Posting pics

Posted: Fri May 24, 2024 12:27 am
by Michael_horatio
I strongly recommend the Gallery. I've been using it, thanks to Grogan for years. Works beautifully, very high quality.

https://www.mikeserv.org/coppermine/dis ... fullsize=1

Re: Posting pics

Posted: Fri May 24, 2024 2:01 am
by Grogan
It should actually work right now too, Muggins here didn't notice that PHP settings had reverted to anal defaults after upgrading. That's bollocks borne of using control panel software instead of managing configuration myself. But anyway, I went to upload a nice PNG instead (3 Mb) and it wouldn't let me do it. It's not often an image would be larger than 2 Mb, so this has just been noticed now. I'm glad it was by me, eating my own dogfood instead of pissing someone off :-)

Re: Posting pics

Posted: Fri May 24, 2024 2:15 am
by Michael_horatio
Grogan,
what's the drill for adding a video (not utube) just an MP4 file off of my drive. I have one about 3 megs, can I attach it in the normal way?

Re: Posting pics

Posted: Fri May 24, 2024 2:26 am
by Grogan
Let me check on that, if you can't, I'll make it so you can. Certainly I can make it so you can upload it as an attachment (if you can't already), but I'd probably have to get smother plugin to handle displaying that in an inline player.

Re: Posting pics

Posted: Fri May 24, 2024 2:31 am
by Grogan
I just added it as a downloadable file type attachment, but there is no interface for displaying video files like that, at this time. I'll look into it though. Nobody tells US that we can't do something we want, here.

Re: Posting pics

Posted: Fri May 24, 2024 2:39 am
by Michael_horatio
:D :D

Re: Posting pics

Posted: Fri May 24, 2024 2:56 am
by Michael_horatio
I'll try it again tomorrow. I tried converting to mpeg and also shortening the file name, but no luck.

Re: Posting pics

Posted: Fri May 24, 2024 3:02 am
by Grogan
I got to thinking here... the best solution is your own recommendation. Use your gallery :mrgreen:

http://www.mikeserv.org/coppermine/disp ... 15&pid=360

That's better equipped for it. You'll like the file sizes I allow there, too. It won't generate a thumbnail image (it would have to use ffmpeg or something to do that), just a generic video thumb, but it will display the video in a player.

The problem with what we were trying to do is that it's the attachment interface. We've got a media embedding plugin that recognizes site URLs, but it's got scripting to handle those site URLs. I could get plugins to handle files from direct URLs, moreover, I wouldn't even need it, I could do it with a custom BBcode tag that would use the < video > < /video > tags that browsers now support. But I couldn't feed it a dynamic URL like an attachment link.

P.S. Watch that video to the end (26s), it's quite graphic :twisted:

Re: Posting pics

Posted: Fri May 24, 2024 3:13 am
by Grogan
Not sure why it's trying to take the whole filename as an extension, it seems adding extensions to that does not work as expected. I am investigating that too, someone bloody well should be able to upload a video snippet.

Re: Posting pics

Posted: Fri May 24, 2024 3:20 am
by Grogan
Cunting sabotage again, the board didn't actually allow those attachment categories even though it has the extensions.

deadspace2_deathscene.mp4
(10.63 MiB) Downloaded 1854 times

At least you can upload them as an attachment (but it's a better deal at the gallery as at least there will be an embedded player)

Re: Posting pics

Posted: Fri May 24, 2024 3:32 am
by Grogan
Testing testing testicles

Heh... It DOES work with an attachment URL!



I just created a custom BBcode so if you post a mp4 file as an attachment, you can right click and copy that URL and then go back and edit your post, and paste it to embed a player, wrapping it in mp4 tags like this:

Code: Select all

[mp4]http://www.mikeserv.com/support/download/file.php?id=88[/mp4]
:mrgreen: :idea: :mrgreen:

Re: Posting pics

Posted: Fri May 24, 2024 3:51 am
by Grogan
I don't see why this couldn't be done with any video filetype.
William Shatner - Lucy In The Sky With Diamonds.mp3
(2.39 MiB) Downloaded 643 times
Or any handled media type, though it will draw a player.



The code I used was the mp4 tags

Code: Select all

[mp4]http://www.mikeserv.com/support/download/file.php?id=89[/mp4]
P.S. Yes, I'm an asshole for picking that file to test

:lol: :P

Re: Posting pics

Posted: Fri May 24, 2024 4:41 am
by Michael_horatio
yep, that was what I call graphic.. :mrgreen:
You are right, this is the simplest.

https://www.mikeserv.org/coppermine/dis ... play_media

Re: Posting pics

Posted: Fri May 24, 2024 5:51 am
by Grogan
You posted the link wrong (from that recent list, lastupby would be internal and it's not generated yet, you can't post a link to that)

Post it like this:

https://www.mikeserv.org/coppermine/dis ... =7&pid=477

The window won't open :lol:

Re: Posting pics

Posted: Fri May 24, 2024 6:34 am
by Michael_horatio

Re: Posting pics

Posted: Fri May 24, 2024 7:05 am
by Grogan
It's not you that's the dumbass, how are you supposed to know that. It looks like any other fugly URL to a PHP/Database resource. I didn't know that either, until you did it and I looked into it :lol: