Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
No recent travel & transport from BBC stories as at 15:35 23 Feb 2025
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 27/02/25 - Portsmouth anyone?
03/03/25 - Melksham -> Inverness
06/03/25 - Go-op Crowd Funding closes
06/03/25 - Inverness -> Melksham

On this day
23rd Feb (2012)
GoCo rebrands Go-Op (link)

Train RunningCancelled
12:37 London Paddington to Swansea
20:11 Weymouth to Frome
21:00 Bristol Temple Meads to Avonmouth
21:22 Exeter St Davids to Okehampton
21:28 Avonmouth to Bristol Temple Meads
22:04 Okehampton to Exeter St Davids
23:50 Warminster to Bristol Temple Meads
Short Run
10:50 Penzance to Cardiff Central
13:50 Warminster to Cardiff Central
14:18 Penzance to London Paddington
15:50 Warminster to Cardiff Central
Delayed
09:45 London Paddington to Penzance
11:28 London Paddington to Penzance
13:06 Plymouth to London Paddington
14:47 Westbury to Swindon
15:37 London Paddington to Swansea
16:37 London Paddington to Swansea
20:00 London Paddington to Plymouth
Abbreviation pageAcronymns and abbreviations
Stn ComparatorStation Comparator
Rail newsNews Now - live rail news feed
Site Style 1 2 3 4
Next departures • Bristol Temple MeadsBath SpaChippenhamSwindonDidcot ParkwayReadingLondon PaddingtonMelksham
Exeter St DavidsTauntonWestburyTrowbridgeBristol ParkwayCardiff CentralOxfordCheltenham SpaBirmingham New Street
February 23, 2025, 15:37:38 *
Welcome, Guest. Please login or register.

Login with username, password and session length
Forgotten your username or password? - get a reminder
Most recently liked subjects
[159] Heritage rail locations across the area
[97] 2025 - Service update and amendment log, Swindon <-> Westbury...
[59] St Pancras plans for direct trains from UK to Germany - Feb 20...
[45] Thames Valley infrastructure problems causing disruption elsew...
[33] Is it April 1st already ??
[28] Brighton's last 1900s tram could return to service in 2025
 
News: A forum for passengers ... with input from rail professionals welcomed too
 
   Home   Help Search Calendar Login Register  
Poll
Question: Have you ever been unable to see images in a post even if others are commenting on them?  (Voting closed: May 16, 2023, 13:44:04)
Yes - I have had this problem - 5 (35.7%)
No - 9 (64.3%)
Total Voters: 14

Pages: [1]
  Print  
Author Topic: Hotlinking to, and posting, images on the Coffee Shop forum (merged posts, hopefully for greater clarity)  (Read 12737 times)
John R
Hero Member
*****
Posts: 4416


View Profile
« on: September 09, 2008, 19:32:54 »

Could anyone let me know how you insert a photograph that's sitting on my hard drive into a message. Thanks
Computer illiterate from Nailsea 
Logged
Phil
Global Moderator
Hero Member
*****
Posts: 2062



View Profile
« Reply #1 on: September 09, 2008, 19:48:34 »

Images are inserted using the {img}http://{/img} tag. Between the two tags you need to put the location of the image as a url like this:

{img}http://www.notarealwebsite.com/phoneyfolder/isthisanimage.gif{/img}

NOTE that you need to replace the curly bracket shown in the above example "{" and "}" with its equivalent square bracket "[" and "]"

The image must be hosted on the interweb somewhere - not on your own hard drive. There are literally hundreds of photo hosting sites. Please don't use Photobucket though, as it has strict restrictions on the amount of bandwidth their hosting can use, which can mess up our forums.

Imageshack is quite good - I'd personally recommend that as a start

http://www.imageshack.us/
« Last Edit: September 09, 2008, 19:51:26 by Phil » Logged
John R
Hero Member
*****
Posts: 4416


View Profile
« Reply #2 on: September 09, 2008, 20:20:36 »

Thanks Phil. At least I wasn't missing the obvious. I haven't got round to posting my photos anywhere so I'll have to spare you all my holiday snaps of the Roscoff - Morlaix branch. Lovely shiny modern train, but only 3 trains a day, all in the middle of the day - buses at peak hours! Maybe the Devon and Cornwall branches don't get it so bad after all. 
Logged
eightf48544
Transport Scholar
Hero Member
******
Posts: 4574


View Profile Email
« Reply #3 on: October 01, 2008, 13:03:38 »

You can attach the photos click the additional options below to attach.

Of course they don't appear in the text but as a list at the bottom of the post.
Logged
tramway
Hero Member
*****
Posts: 617



View Profile
« Reply #4 on: October 08, 2008, 00:03:31 »

At least the Morlaix viaduct still has trains going across unlike the one at Dinan which is now a road.
Logged
eightf48544
Transport Scholar
Hero Member
******
Posts: 4574


View Profile Email
« Reply #5 on: October 27, 2008, 10:18:54 »

I've got as far as getting some images into imageshack but they don't seem to display when I use teh thumbnails to post them in this board.

What am I doing wrong?

Help!

Logged
infoman
Hero Member
*****
Posts: 1496


View Profile
« Reply #6 on: April 13, 2023, 20:02:26 »

Still don't know how to post some railway photos and failing can any one help?

I have them on an SD card.

Thank you
Logged
Mark A
Global Moderator
Hero Member
*****
Posts: 1845


View Profile
« Reply #7 on: April 13, 2023, 22:12:13 »

You're not alone - this flummoxed me too until I realised what goes on.

The coffeeshop software doesn't host images itself, but it's easy to link to a photo hosted elsewhere.

So... to include an image, first, upload your photo to a third party host. Postimages works well: https://postimages.org/ - upload your image there and the site will give you a page of various forms of link to it. Look for the one that's a direct link and copy that. Then, go to the coffeeshop and the post you're writing, paste the link to your image. Lastly, highlight the link you've just pasted and then look above the editing field that you're using to type the post - the rows of editing icons that produce bold, italic typeface. With the image link selected, the one you need is in the second row, below the 'I' for italic script. Hover over it and you'll see the tooltip 'Insert image' - it doesn't actually mean that but when you hit that button it will turn the link you highlighted into something that results in displaying your image.

Hope this is somewhat helpful.

Mark
Logged
paul7575
Transport Scholar
Hero Member
******
Posts: 5340


View Profile
« Reply #8 on: April 14, 2023, 21:11:42 »

I’ve posted photos that are hosted by the forum software, but you’ll often need to reduce the file size.
Click “Additional Options” below the edit box
Where it says Attach:, click the Choose File button. 
Select your photo, up to 4 can be attached, but make sure the individual photo sizes are within the limit.
Logged
grahame
Administrator
Hero Member
*****
Posts: 43416



View Profile WWW Email
« Reply #9 on: May 09, 2023, 13:44:04 »

Many of us posters link in to images held on other servers (our hosting on the Coffee Shop being very limited to attachments).  I (personally) have problems seeing one particular poster's images. There have been two or three other reports too but I don't thinks it's all that common.  This is a poll to help me establish the facts.

1. If you have not seen the problem, please vote "no".

2. If you HAVE seen the problem, please vote "yes" AND follow up with either a description of when you saw it (a link to the post that's giving you trouble) and whether it's on all your browsers / devices, or just some ("I can see it on my phone but not on my iPad" for example).

Serving images takes substantial resource on the hosting servers.  They are designed to hotlink, but  I believe that at times they'll blacklist certain requests because they feel they might be robots, or taking too many pictures.  This could be by IP address or address range, by individual host, by who uploaded the picture / who's account it is, by the browser string, by the referring URL, or perhaps by intermediary caches such as Squid and Varnish.   Clues from your stories will help me diagnose this and advise better when it crops up - a tough one to find because the issue is inconsistent and rare, and it's not in a transaction that's taking place on our server.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
ellendune
Transport Scholar
Hero Member
******
Posts: 4513


View Profile
« Reply #10 on: May 09, 2023, 15:18:26 »

Possibly the post was this:

http://www.firstgreatwestern.info/coffeeshop/index.php?topic=27351.msg333784#msg333784
Logged
grahame
Administrator
Hero Member
*****
Posts: 43416



View Profile WWW Email
« Reply #11 on: May 17, 2023, 14:18:07 »

Thank you for your inputs folks, and for the technical details some of you have forwarded.

Here is an example of the internal request made by a browser to include an image.  This example is from a link to the image at http://www.wellho.net/pix/ranpic.jpg

Request to the server once connected:
GET /pix/ranpic.jpg HTTP/1.1

Referer information included with the request:
http://www.firstgreatwestern.info/

Browser description string included with the request:
Mozilla/5.0 (Macintosh; Intel Mac OS (Ordnance Survey) X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15

Servers which allow hot linking have - as described earlier - software checks on them to see if they consider the requests genuine ones rather than churning out loads of responses to automata, and my conclusion is that some combinations of the referer and the browser (and perhaps the IP you're browsing from) are rejected.

I'm pretty sure that the referer is one of the key elements, as cutting and pasting the image URL into your browser's URL bar has - for all reports - made the image visible.

I'm also pretty sure that the browser string is key, since I have reports that the images are not visible from some browsers / devices but not others, even when the Coffee Shop is accessed in different ways from the same IP.

Solution - in "immediate mode", those of you who have the issue learn to live with it.  I have ruled out going general image hosting on our servers (mainly because of the extra management software and support needs). If we move from http to https, it may provide a solution. And we could conceivable come up with a list of hot links servers that work for everyone.  Longer term, a piece of clever coding could perhaps automatically mirror images, but all sorts of copyright issues there that I would need to think through.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
Do you have something you would like to add to this thread, or would you like to raise a new question at the Coffee Shop? Please [register] (it is free) if you have not done so before, or login (at the top of this page) if you already have an account - we would love to read what you have to say!

You can find out more about how this forum works [here] - that will link you to a copy of the forum agreement that you can read before you join, and tell you very much more about how we operate. We are an independent forum, provided and run by customers of Great Western Railway, for customers of Great Western Railway and we welcome railway professionals as members too, in either a personal or official capacity. Views expressed in posts are not necessarily the views of the operators of the forum.

As well as posting messages onto existing threads, and starting new subjects, members can communicate with each other through personal messages if they wish. And once members have made a certain number of posts, they will automatically be admitted to the "frequent posters club", where subjects not-for-public-domain are discussed; anything from the occasional rant to meetups we may be having ...

 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
This forum is provided by customers of Great Western Railway (formerly First Great Western), and the views expressed are those of the individual posters concerned. Visit www.gwr.com for the official Great Western Railway website. Please contact the administrators of this site if you feel that the content provided by one of our posters contravenes our posting rules via admin@railcustomer.info. Full legal statement (here).

Jump to top of pageJump to Forum Home Page