pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
Res facta quae tamen fingi potuit ([personal profile] pauamma) wrote in [site community profile] dw_dev2025-02-22 05:12 am
Entry tags:

Question thread #139

It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
watervole: (Default)

[personal profile] watervole 2025-02-22 07:25 pm (UTC)(link)
How do I put photos that I've uploaded to DW into my posts!

It's driving me crazy. I'm getting the feeling that it may have worked at one time, and is now totally kaputt!
(Only some people can see photos I link to in Google photos, so I've been trying to upload some to DW instead)

I'm not entirely sure if this is the right place to ask, but there's nothing to tell you what is the right place...
teres: A picture of an iguana (Iguana)

[personal profile] teres 2025-02-22 07:38 pm (UTC)(link)

Are you using Rich Text or HTML? (Or, if you are using the beta version, either of these or Markdown?)

watervole: (Default)

[personal profile] watervole 2025-02-23 10:33 am (UTC)(link)
rich text (I've no idea what 'beta version' is)
teres: A picture of a fire salamander against a white background. (SCSF)

[personal profile] teres 2025-02-23 01:21 pm (UTC)(link)

Once you can see your pictures at dreamwidth.org/file/list, I'd say the easiest way is to copy the name of the picture you want to have (like 11727.png for the first one I see on your journal). Then, in the RTE, you can use the "insert image" functions and type in "https://watervole.dreamwidth.org/file/" and then paste the name of the file. If you insert that, it ought to appear in the entry, in full size.

If this doesn't work... my first suggestion would be to go to the beta page (https://www.dreamwidth.org/beta), and turn on the top flag. (This page is for testing new things for Dreamwidth, and the new create entries page and inbox will eventually become default.) The reason I suggest that is that the RTE works a bit differently in the new page, and I know some bugs resolve there.

Hope this helps!

ornoth: (Contemplative)

Sorry... Revisiting OpenGraph

[personal profile] ornoth 2025-02-24 11:15 pm (UTC)(link)
I know it has come up multiple times in the past (e.g. https://github.com/dreamwidth/dreamwidth/issues/2206), but I need to ask... What's the likelihood of getting OpenGraph tags -- especially og:image -- implemented properly?

My main irritation is getting no hero images when sharing my DW posts to F*c*book, which worked fine back in the day on LJ. Even when FB scrapes a DW post itself and picks a suitable preview image, the broken OG:image:height|width tags in the entry still seem to cause FB to post entries without any image. E.g.:

<meta property="og:image:width" content="363"/>
<meta property="og:image:height" content="363"/>


with no actual og:image tag accompanying it, and no image anywhere in my post that is 363x363px, which seems to be a hardcoded value.

Sorry if I'm flogging a dead horse. Please let me know if this is somehow specific to my blogs, or if I'm missing some community consensus about it. And thanks so much for the questions thread!