Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-11-23 04:52:30

mericson
Member
Registered: 2004-05-24
Posts: 137
Website

Displaying txp:image in previews?

An author on a blog I created is using html <img> links in their articles rather than <txp:image> links.

I told them that using txp:image is preferred as it makes the site more portable also allows changes to image format without having to go back and edit every article.

They told me that was fine and good, but when they use the <txp:image> tag they can’t see their images in the article preview!

I checked, and sure enough they are correct. That does present a problem as they would like to preview the article complete with the embedded images.

Any ideas about how to get <txp:image> tags to be processed in preview?

Offline

#2 2008-11-23 06:34:30

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Displaying txp:image in previews?

mericson wrote:

Any ideas about how to get <txp:image> tags to be processed in preview?

No, that might not be possible, but then I don’t use preview anyway.

However I can offer an alternative approach…
Create an “invisible section” like “preview”, that isn’t linked to anywhere in the site. Then authors can publish articles there and preview them before assigning them to the proper section when they go live.

Offline

#3 2008-11-23 14:25:21

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Displaying txp:image in previews?

Textpattern 4.0.7 will support WYSIWYG previewing of draft and hidden articles.

Offline

#4 2008-11-24 06:16:31

mericson
Member
Registered: 2004-05-24
Posts: 137
Website

Re: Displaying txp:image in previews?

Thanks wet, great news!

Offline

Board footer

Powered by FluxBB