Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
image tags filename
If I want to add an image that I have upload with textpattern I can add the image file between ! marks.
But do I have to use the id assigned by text pattern
eg. The third image I upload would be:
Is it not possible to use the images actual filename?
Thanks, K.
Offline
#2 2005-10-27 09:19:35
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: image tags filename
That is the image’s filename, Textpattern renames the images you manage with it. See also:
stop TXP from renaming uploaded images?
have txp stop renaming imgs from name.jpg to #.jpg?
Meantime, you could use the image tag, you can use it within article text), rather than Textile syntax.
Offline
Re: image tags filename
Thanks.. I tried the image plug-in, it installed ok, but the tags it generates do not seem to display images, the tags look like this:
<txp:upm_image type=“image” image_id=“11” class=“image” />
Is that a valid tag, its not textile anyway, I guess it is a textpattern tag… can you put txtptn tags in the content?
Thanks, Kris.
Offline
#4 2005-10-29 02:54:25
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: image tags filename
Oh, that’d be my plugin. You don’t have to use it, but you can. Make sure the plugin is activated. You can also use the built-in tag, image.
Yes, you can use tags within an article body. A current problem is that you won’t be able to preview the results of the tag output, but I’m sending in a patch to hopefully fix that.
Offline
Re: image tags filename
A ha… its just the preview that does’nt work!
If thats the case the plug-in will work great, of course it would be better if the preview did work :)
Thanks Mary, great work.
Offline
Pages: 1