#1 2007-12-11 16:55:11

Gocom
Moderator
omega
Real name: Jukka Svahn
From: Finland
Known languages: EN, FI
Website

rah_aimage

Almost same as <txp:article_image /> but bit different; Includes linking support via image editor, allowing user to easily link images to different locations. The plugin is used inside article forms, and works same way as the default TXP 4.0.6 article_image.

Downloads and more information

Last edited by Gocom (2010-02-02 11:38:13)


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

 

#2 2010-01-31 19:01:14

jonlandrum
Member
gamma
Real name: Jonathan Landrum
From: Shi'Kahr
Website

Re: rah_aimage

How would I fill an alt attribute and a title attribute for images I’ve uploaded via FTP? Could I perhaps use a custom field for alt and another for title, and in the <txp:rah_aimage /> tag do something like alt="<txp:custom_field name='alt' />" caption="<txp:custom_field name='title' />"? Or would that even work?


\\//_ Live long and prosper.

Offline

 

#3 2010-02-02 11:30:19

Gocom
Moderator
omega
Real name: Jukka Svahn
From: Finland
Known languages: EN, FI
Website

Re: rah_aimage

Hi, Jonathan got your email and noticed your post here :-)

jonlandrum wrote:

How would I fill an alt attribute and a title attribute for images I’ve uploaded via FTP?

You mean images that are imported into TXP’s database or just on the server? Yes,

alt='<txp:custom_field name="alt" />' caption='<txp:custom_field name="title" />'

will work if you need it. But only if the image is not stored inside the DB. Default values are applied only when the image doesn’t have the information, meaning isn’t stored inside TXP’s image management.

Note that probably only reason you would want to use this plugin, rah_aimage, is if you want to link the images to somewhere by placing URL to the image’s alt field.


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

 

#4 2010-02-06 03:26:37

jonlandrum
Member
gamma
Real name: Jonathan Landrum
From: Shi'Kahr
Website

Re: rah_aimage

Thanks for your reply, Jukka. I don’t have my images in the database because I didn’t want them named “1.jpg, 2.jpg, 3.jpg …” But now I don’t have a way to set the title and alt attributes. So I was hoping this plugin would give me that functionality.

Last edited by jonlandrum (2010-02-06 03:27:08)


\\//_ Live long and prosper.

Offline

 

#5 2010-05-03 10:12:10

laptophobo
Member
zêta
Website

Re: rah_aimage

Okay, could someone offer up a working Article or Page tag example that would link an image within my images folder (e.g.: images/sampleimage.jpg) that would utilize the “usealturl” backend url option?

I’ve tried this tag on my Page:
<txp:article_image link=“1” usealturl=“1” /> (I’ve also tried it with only: <txp:article_image />)

Then, in my TXP Images manager, I have placed a url (i.e.: http://testweb.com) within the “Alternate text” field.

Then, in my Article, within the “Article image” field, I have the coorisponding number (7) entered there.

Help!

Last edited by laptophobo (2010-05-03 10:14:05)


Living the Location-Independent Life: www.NuNomad.com

Offline

 

#6 2010-05-03 10:30:39

uli
Member
tau
Real name: Uli
From: Cologne/Köln
Known languages: de > en

Re: rah_aimage

It’s named txp:rah_aimage, not txp:article_image
Does that change anything?

Offline

 

#7 2010-05-03 10:36:15

laptophobo
Member
zêta
Website

Re: rah_aimage

Hi, I meant to write: <txp:rah_aimage link=“1” usealturl=“1” />
And sorry, no, it didn’t change anything.

:-}

Last edited by laptophobo (2010-05-03 10:36:35)


Living the Location-Independent Life: www.NuNomad.com

Offline

 

#8 2010-05-03 11:22:07

jakob
Member
upsilon
From: Germany
Known languages: en, de
Website

Re: rah_aimage

an image within my images folder (e.g.: images/sampleimage.jpg)

if you’ve uploaded that image via the txp images tab, txp always renames the images to a number. Images with other names you have to link manually as they’re not stored in the system.


TXP Builders – finely-crafted code, design and txp

Offline

 

#9 2010-05-03 11:44:04

laptophobo
Member
zêta
Website

Re: rah_aimage

Well, the thing is is that I’ve tried it both ways. Using the TXP number and the actual file name.
Do you have an example to show me?


Living the Location-Independent Life: www.NuNomad.com

Offline

 

#10 2010-05-03 12:10:18

Gocom
Moderator
omega
Real name: Jukka Svahn
From: Finland
Known languages: EN, FI
Website

Re: rah_aimage

  1. The string inserted into article image field must be a singular image ID. For example 24. No extensions or file names.
  2. The string inserted into the image’s Alt field under Image manager must only contain the url address. The address must start either with www. or http://.
  3. The tag example, <txp:rah_aimage link="1" usealturl="1" /> works just fine. For example the image on this page is linked with the tag.

Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

 

Powered by PunBB
© Copyright 2002 – 2005 Rickard Andersson