Go Down

Topic: Guide: How to Insert Uploaded Images in a Post (Read 822 times) previous topic - next topic

DuaneDegn

Dec 06, 2015, 06:35 pm Last Edit: Dec 07, 2015, 11:01 am by DuaneDegn
I've had a couple people thank me for mentioning my technique of adding uploaded images inline so I thought I'd start a thread on the topic to make it easier for people to find.

I'm not sure there's if there's a better way to do this or not.

I start out by using the "Reply" option of adding a post (you can't use "Quick Reply") and attaching an image to the post. You attach an image file by selecting "Attachments and other options" then click "Choose Files" after which you navigate to the folder on your PC with the image file you wish to upload.



Now it would be nice if there were some way to insert the image inline at this point but I don't know of a way to do so.

So this is what I do to get the uploaded image into the post. After I've clicked "Post" I then return to the same post and right click the link to the photo and select "Copy link address". I then select "Modify" (under "More") and edit my post. Once I'm editing the post I use the "Insert an image" icon to add the pictures URL between IMG tags.

Once you've added the image's URL between the IMG tags click the "Save" button to save your changes.

robtillaart

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

LarryD

I have been doing the same for about 6 months but, I have noticed that a about a week later the images are replaced by a small nondescript image taking the place of the once visible image.
It's my guess they may be messing with this technique.

Isn't this new improved web software a pleasure.

.
Always blame yourself.

Robin2

I have used that technique also. Alas I cannot remember when or in what Thread so I can't check if it is still working.

It would be a real PITA if they have broken a very convenient feature.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

pert

I think it would be useful to mention that you need to click Reply(rather than using Quick Reply) to be able to attach files to a reply.

DuaneDegn

I think it would be useful to mention that you need to click Reply(rather than using Quick Reply) to be able to attach files to a reply.
Added.

Thanks for the suggestion.

zoomkat

I've tried to find the stored attached files so I could link to them but no luck. As I attach the same files over and over the names must be changed when they are stored.
Google forum search: Use Google Search box in upper right side of this page.
Why I like my 2005 Rio Yellow Honda S2000  https://www.youtube.com/watch?v=pWjMvrkUqX0

DuaneDegn

#7
Dec 07, 2015, 04:55 pm Last Edit: Dec 07, 2015, 04:56 pm by DuaneDegn
I've tried to find the stored attached files so I could link to them but no luck. As I attach the same files over and over the names must be changed when they are stored.
After you upload the file yet again, what if you right click and use "Search Google for image"? It wouldn't really do you much good but it may, at least, satisfy your curiosity.

clohebusoa


DuaneDegn

#9
Jan 04, 2016, 07:30 pm Last Edit: Jan 04, 2016, 07:32 pm by DuaneDegn
I thought I'd attempt to answer the following question here instead of in the thread where it was asked.

is that photo now controlled by the forum ? or, if you change the photo will the new one be displayed ?
in FaceBook, only the link to the photo was used, the program pulled the photo from the link each time.
once the hackers found out about this, they would post pictures of puppies and such, then switch the photo and leave the original URL. then viewers were shown whatever the hacker wanted.
something I have been curious about.
also, since I host my photos on imgur, what happens to my photos if I loose the account or they end service ?

If the image had been uploaded to the forum, then the image is on the forum's servers. I doubt there's a way to modify the image once it has been uploaded. I'm pretty sure you could replace the uploaded file with a new image but this new file would need to be added to the post the usual way.

If you link to an image from an external site, then changing the image would also change what people saw on the forum.

If the externally hosted image is deleted, then the image will no longer be available from the forum.

68tjs

Quote
I think it would be useful to mention that you need to click Reply(rather than using Quick Reply) to be able to attach files to a reply.
When you use Quick Reply do a "Preview" and attchement menu will apear.

Paul__B

I've tried to find the stored attached files so I could link to them but no luck. As I attach the same files over and over the names must be changed when they are stored.
The problem is the deliberate obfuscation that for no sensible reason, is implemented in the forum software.  It refers to them by a "dark Web" reference; they are given a number and only ever referenced by that number using a PHP server script.

For example the image link in the first post above is "http://forum.arduino.cc/index.php?action=dlattach;topic=364156.0;attach=146178" which is not an image URL but something the PHP script reads and inserts its version of the file.  You can refer to that as frequently as you like, using it as an image link, but you can never see the file itself and if the attachment is removed from the original post, the file completely disappears from all links.  This is presumably the phenomenon LarryD has experienced.


Robin2

The problem is the deliberate obfuscation that for no sensible reason,
The general philosophy of the Forum developers seems to be "if there is a more complicated way to do something let's use it.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy