Topic on Help talk:VisualEditor/User guide

Is there some way to use visual editor to replace an image with another whilst maintaining the formatting?

2
John Cummings (talkcontribs)

Hi

I'm trying to think of ways to create easy to use templates for photo essays for the Wiki Loves competitions. If I created a template with placeholder images with special formatting (e.g larger than normal and in galleries with no borders) and placeholder text, is there an easy way to replace the placeholder images in VE?

I mean something like this https://commons.wikimedia.org/wiki/User:John_Cummings/WLE_photo_essay_template

Thanks

Whatamidoing (WMF) (talkcontribs)

If you use exactly that (not a {{template}}, but that gallery code itself), then the users could remove the old images and insert new ones. Switch to the visual mode and try it out on your page to see what I mean.

How soon do you need this? The team isn't really working on galleries right now, but it might be possible to convince them to add a "Change image" button (assuming that it's not much extra work).

Reply to "Is there some way to use visual editor to replace an image with another whilst maintaining the formatting?"