Posting pics

This is the place to discuss anything.
Forum rules
Behave
Post Reply
User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Posting pics

Post 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.
User avatar
Michael_horatio
Master of Ceremonies
Posts: 107
Joined: Tue May 21, 2024 5:09 am

Re: Posting pics

Post 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
User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Re: Posting pics

Post 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 :-)
User avatar
Michael_horatio
Master of Ceremonies
Posts: 107
Joined: Tue May 21, 2024 5:09 am

Re: Posting pics

Post 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?
User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Re: Posting pics

Post 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.
User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Re: Posting pics

Post 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.
User avatar
Michael_horatio
Master of Ceremonies
Posts: 107
Joined: Tue May 21, 2024 5:09 am

Re: Posting pics

Post by Michael_horatio »

:D :D
User avatar
Michael_horatio
Master of Ceremonies
Posts: 107
Joined: Tue May 21, 2024 5:09 am

Re: Posting pics

Post by Michael_horatio »

I'll try it again tomorrow. I tried converting to mpeg and also shortening the file name, but no luck.
Attachments
Screenshot 2024-05-23 195214.png
Screenshot 2024-05-23 195214.png (41.98 KiB) Viewed 20601 times
User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Re: Posting pics

Post 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:
User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Re: Posting pics

Post 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.
User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Re: Posting pics

Post 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)
User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Re: Posting pics

Post 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:
User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Re: Posting pics

Post 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 644 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
User avatar
Michael_horatio
Master of Ceremonies
Posts: 107
Joined: Tue May 21, 2024 5:09 am

Re: Posting pics

Post 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
User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Re: Posting pics

Post 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:
User avatar
Michael_horatio
Master of Ceremonies
Posts: 107
Joined: Tue May 21, 2024 5:09 am

Re: Posting pics

Post by Michael_horatio »

User avatar
Grogan
Your Host
Posts: 2147
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

Re: Posting pics

Post 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:
Post Reply