Reposting images from User Control Panel/Manage Attachments

Reposting images from User Control Panel/Manage Attachments

PostBy: VigIIPeaBurner On: Thu Oct 28, 2010 5:42 am

Can images that have previously been uploaded to a forum post or PM be reused from this area? If so, what is the proper way/function to use?

I often find a use for images I've already uploaded and I've tried a few different ways. My thoughts are toward reducing storage of repetitive images on the server. I can see my reposted images in my preview of a PM but the recipient reports there's a message that I've deleted them.
User avatar
VigIIPeaBurner
State of New Jersey Moderator
 
Posts: 1807
Joined: Fri Jan 11, 2008 11:49 am
Location: Pequest River Valley, Warren Co NJ
Stove/Furnace Make: Vermont Casting/Keystoker
Stove/Furnace Model: Vigilant II 2310/Koker


Re: Reposting images from User Control Panel/Manage Attachments

PostBy: WNY On: Thu Oct 28, 2010 6:07 am

i just repost the link from the image...or put it between [ img ] [ /img ] codes
User avatar
WNY
Site Moderator
 
Posts: 5452
Joined: Mon Nov 14, 2005 9:40 am
Location: Cuba, NY
Stove/Furnace Make: Keystoker, LL & CoalTrol
Stove/Furnace Model: 90K, Hyfire I, VF3000 Soon

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: Richard S. On: Thu Oct 28, 2010 9:51 am

Under any attachment in a post and in the control panel you'll find a link that says "BBCode(Select) ". Click it to highlight the tag, right click and copy the text and you can paste it anywhere. This works for files too.

Code: Select all
[nepathumb]5644[/nepathumb]


Will produce this image:

View: New PagePopup


Code: Select all
    [nepafile=16861]CoalCast_Episode_010_20091210.mp3[/nepafile]


Will produce this audio file:

CoalCast_Episode_010_20091210.mp3




  • For files it just provides a link at the moment so if it's a video or audio file it won't have a player.
  • If the image was posted inside a forum like FSC only those that have access to that forum will be able to see it.
  • The control panel also lists files you have sent in PM's, these cannot be viewed by anyone except the recipient.
User avatar
Richard S.
Mayor
 
Posts: 11056
Joined: Fri Oct 01, 2004 8:35 pm
Location: NEPA
Stove/Furnace Make: Van Wert
Stove/Furnace Model: VA1200

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: Yanche On: Thu Oct 28, 2010 9:52 am

Here's what works for me ...

Click "User Control Panel" at top of page then ...

Click "Manage attachments" at left then ...

Scroll through the list to find the one you want, then ...

Click "BBCode(Select)" on the one you want to use.
Copy (Control C) what gets selected and paste (Control V) into the message you are composing.
User avatar
Yanche
Site Moderator
 
Posts: 3077
Joined: Fri Dec 23, 2005 1:45 pm
Location: Sykesville, Maryland
Stove/Furnace Make: Alternate Heating Systems, Inc
Stove/Furnace Model: S-130 Boiler burning pea coal

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: Richard S. On: Thu Oct 28, 2010 10:03 am

There's a shortcut if you have specific image you might want to post frequently and can remember the ID. If you right click an image the URL will look something like this:

http://nepacrossroads.com/download/file.php?id=5644

It might be long with other parameters, the only thing you need is the numbers after the id parameter. In this case 5644, just [place it between the [ nepathumb]




------------------------

As suggested by WNY you can just use the image tags. Right click the image either the thumb or full size for the URL. Paste it into the post. Highlight it and click the [ IMG] button:
Code: Select all
[img]http://nepacrossroads.com/download/file.php?id=5644&t=1[/img]


That will produce this:
Image

Note the &t=1 in the url, that links to the thumb. If you remove the &t=1 you can full size:

Code: Select all
[img]http://nepacrossroads.com/download/file.php?id=5644[/img]


That will produce this:
Image
User avatar
Richard S.
Mayor
 
Posts: 11056
Joined: Fri Oct 01, 2004 8:35 pm
Location: NEPA
Stove/Furnace Make: Van Wert
Stove/Furnace Model: VA1200

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: Wood'nCoal On: Thu Oct 28, 2010 10:11 am

View: New PagePopup


Hey, I originally posted that image...
User avatar
Wood'nCoal
Site Moderator
 
Posts: 7289
Joined: Sat Feb 10, 2007 10:48 pm
Location: Stillwater, NJ
Stove/Furnace Make: Harman/EFM
Stove/Furnace Model: Magnafire Mark I/350

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: Richard S. On: Thu Oct 28, 2010 10:15 am

Wood'nCoal wrote:
View: New PagePopup


Hey, I originally posted that image...


Not in this case. :D

Clarence, are you sure it was anthracite?
User avatar
Richard S.
Mayor
 
Posts: 11056
Joined: Fri Oct 01, 2004 8:35 pm
Location: NEPA
Stove/Furnace Make: Van Wert
Stove/Furnace Model: VA1200

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: Wood'nCoal On: Thu Oct 28, 2010 11:00 am

You're right, and you posted it well before I did!

Welcome to the Coal Region !
User avatar
Wood'nCoal
Site Moderator
 
Posts: 7289
Joined: Sat Feb 10, 2007 10:48 pm
Location: Stillwater, NJ
Stove/Furnace Make: Harman/EFM
Stove/Furnace Model: Magnafire Mark I/350

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: VigIIPeaBurner On: Thu Oct 28, 2010 9:37 pm

Thank you everyone for your insights. Right click on the image then copy the properties :doh: I've done this lots of time! :oops:

What was throwing me off is that inside my User Control Panel/Overview/Manage Attachments, the pictures I've posted on the forum boards do have the line BBcode (select) [nepathumb]image number[/nepathumb] available where as the images I posted to PMs do not.

Richard's bulleted notation
•The control panel also lists files you have sent in PM's, these cannot be viewed by anyone except the recipient.
would explain why the "Properties" link is dead when I try to share the same link/pic with another member via PM. Also why there isn't any BBcode(select) code available.

If I right click on the PM-ed image file and copy the link under "Properties" it will give me this link that I've placed in quotes...
http://nepacrossroads.com/download/file.php?id=22429&t=1

Let me know if anyone sees the same link posted below behind a bullet. John and Chris have previously received this image in a PM and might see the link here as well. Not surprizingly, for me it is a live link to the picture.
http://nepacrossroads.com/download/file ... =22429&t=1
Can anyone see it? Does the link work - Yes/No please?

After all that fuss, here's the picture spoken of in the links. It's my home made 30+ year old wooden body hillbilly cart. These past years it's main function is as my winter coal bin.
Attachments
019.JPG
(222.64 KiB) Viewed 7 times
View: New PagePopup • Select:BBCode
3 1/2 ton give or take!
[nepathumb]22923[/nepathumb]
User avatar
VigIIPeaBurner
State of New Jersey Moderator
 
Posts: 1807
Joined: Fri Jan 11, 2008 11:49 am
Location: Pequest River Valley, Warren Co NJ
Stove/Furnace Make: Vermont Casting/Keystoker
Stove/Furnace Model: Vigilant II 2310/Koker

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: Yanche On: Thu Oct 28, 2010 10:14 pm

VigIIPeaBurner wrote:
http://nepacrossroads.com/download/file.php?id=22429&t=1

Let me know if anyone sees the same link posted below behind a bullet. John and Chris have previously received this image in a PM and might see the link here as well. Not surprizingly, for me it is a live link to the picture.
http://nepacrossroads.com/download/file ... =22429&t=1
Can anyone see it? Does the link work - Yes/No please?

After all that fuss, here's the picture spoken of in the links. It's my home made 30+ year old wooden body hillbilly cart. These past years it's main function is as my winter coal bin.

The link after the bullet doesn't work for me. Says, "The selected attachment does not exist anymore."
User avatar
Yanche
Site Moderator
 
Posts: 3077
Joined: Fri Dec 23, 2005 1:45 pm
Location: Sykesville, Maryland
Stove/Furnace Make: Alternate Heating Systems, Inc
Stove/Furnace Model: S-130 Boiler burning pea coal

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: VigIIPeaBurner On: Thu Oct 28, 2010 10:27 pm

Yanche wrote:The link after the bullet doesn't work for me. Says, "The selected attachment does not exist anymore."


Thanks Yanche for letting me know. Performed just like the Mayor said. Evidentially it's privacy performance for PM material so that it cannot be shared w/o the author performing the function.
User avatar
VigIIPeaBurner
State of New Jersey Moderator
 
Posts: 1807
Joined: Fri Jan 11, 2008 11:49 am
Location: Pequest River Valley, Warren Co NJ
Stove/Furnace Make: Vermont Casting/Keystoker
Stove/Furnace Model: Vigilant II 2310/Koker

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: 009to090 On: Thu Oct 28, 2010 10:50 pm

VigIIPeaBurner wrote:If I right click on the PM-ed image file and copy the link under "Properties" it will give me this link that I've placed in quotes...
http://nepacrossroads.com/download/file.php?id=22429&t=1

Let me know if anyone sees the same link posted below behind a bullet. John and Chris have previously received this image in a PM and might see the link here as well. Not surprizingly, for me it is a live link to the picture.
http://nepacrossroads.com/download/file ... =22429&t=1
Can anyone see it? Does the link work - Yes/No please?

Dave, Yep, the link works for me.
User avatar
009to090
State of North Carolina Moderator
 
Posts: 4980
Joined: Fri Jan 30, 2009 11:02 am
Location: Warrenton, NC
Stove/Furnace Make: Harman DVC500 x 2
Stove/Furnace Model: EFM 520 HighBoy

Re: Reposting images from User Control Panel/Manage Attachments

PostBy: Richard S. On: Fri Oct 29, 2010 2:50 am

VigIIPeaBurner wrote:
Thanks Yanche for letting me know. Performed just like the Mayor said. Evidentially it's privacy performance for PM material so that it cannot be shared w/o the author performing the function.


Correct, it's so people can't go fishing for files they aren't supposed to have access too. As I said same thing applies to images and files posted in private forums like FSC, moderator forums etc. Technically on a standard install of phpBB someone could rip the entire library of files that have guest permissions by using a script to download every file in sequential order. If there wasn't a permission set on files in PM's then those files would be included.

I'll go into some detail as it's no secret how it works. When you upload a file it's stored in an undisclosed location with Dick Cheney. :lol: This folder is protected through .htaccess which sets permissions and other things on Linux servers. It cannot be accessed directly through a web browser. I can give you out the URL and filename if I wanted and you can't access it through a web browser. The file itself is renamed to a random string of characters about 30 in length and the original name is stored in the database. Even if the server protection failed or in some cases on a shared hosting plans that have this service disabled you would still need to know the file name which for practical purposes would be impossible to guess.

All file requests go through file.php which is executed on the server which will first check to see if you have permissions to access the file. If you have permission to view the file file.php can access the folder and it will send the image to your browser encoded raw as an image. Permissions on phpBB are numerous, for example I could if I wanted set it so files can be only seen by logged in members in the public forums. If you really needed a secure environment outside of what you can do with standard server permissions you can limit file downloads to specified IP's.
User avatar
Richard S.
Mayor
 
Posts: 11056
Joined: Fri Oct 01, 2004 8:35 pm
Location: NEPA
Stove/Furnace Make: Van Wert
Stove/Furnace Model: VA1200