Posting images in Public Press

Miscellaneous information about using the site.

Posting images in Public Press

Postby Bromley86 » 28 Oct 2017, 23:16

Could someone explain why some images post in Public Press, and some don't? Does it have to be a https url?

I can give examples, but it's likely something simple like that. Cheers.

EDIT: Not so simple. Take this page as an example:
https://i.imgflip.com/1ya5du.jpg

  • Using the whole-page url works, which was a surprise to me as there's a lot of other information on that page, but the image tags seem to grab the right bit.
  • Right-clicking on the image itself and copying the image address (Chrome) gives the same url, which we know works:
    https://i.imgflip.com/1ya5du.jpg
  • Clicking on Show embed codes gives you another https link, that's almost the same, but that doesn't work in Public Press (just a blank post). There's no file type in this, which is presumably relevant.
    https://imgflip.com/i/1ya5du

So, current rule of thumb is it has to be https and have a file type specified. Sound right?
A member of the Classicists, a group that aims to reduce NMRs/surrenders.
Bromley86
 
Posts: 503
Joined: 02 May 2012, 00:16
Class: Star Ambassador
Standard rating: (1880)
All-game rating: (2233)
Timezone: GMT+12

Re: Posting images in Public Press

Postby super_dipsy » 29 Oct 2017, 09:38

The image mechanism for Public Press simply uses the <img src= html. As far as I know, that ALWAYS requires a file type, although I suppose some browsers might supply a default.

Best is to always specify a filetype. I'm not even sure why you ever wouldn't :)
User avatar
super_dipsy
Site Admin
Site Admin
 
Posts: 11513
Joined: 04 Nov 2009, 17:43
Class: Ambassador
Standard rating: (1000)
All-game rating: (956)
Timezone: GMT

Re: Posting images in Public Press

Postby Bromley86 » 30 Oct 2017, 00:41

Well, when you put it like that, it does sound silly :) . I'd previously used the imgflip embed links which don't have a file extension; likewise with a lot of images that you find on the Google images tab, e.g:
https://encrypted-tbn0.gstatic.com/imag ... YTWnG1Mg6w

The odd thing is, when I put that into this online html editor, it worked fine. Also, the http links for the Order History work there (and on the forum), but not in Public Press.
A member of the Classicists, a group that aims to reduce NMRs/surrenders.
Bromley86
 
Posts: 503
Joined: 02 May 2012, 00:16
Class: Star Ambassador
Standard rating: (1880)
All-game rating: (2233)
Timezone: GMT+12


Return to Information

Who is online

Users browsing this forum: No registered users and 2 guests