-
☆ A M B ☆
- 24,524 Posts
Yes, if you use a TV with the input type of Image and the output widget also Image, you’ll be able to select the desired image for each page, and will be presented with a file upload field as well so that you can upload the image if it’s not already on your site.
Great ! I was wondering how the alternate text could be set per image. Is there a way to make this field available after or while you select your image?
-
☆ A M B ☆
- 24,524 Posts
It’s a TV. It will be available as a TV form field when editing a document that uses the template(s) the TV has been assigned to. Just put the TV tags wherever you want the image displayed, either in the template or in the content of the document itself.
Yeah, I got that part but was referring to the part on the widget that allows you to specify:
for example the class that the image will have. Or as in this case, admin removed image behind password protected directory On the image widget in the TV setup, I saw it had a field for Alternative Text (alt) field available. If I were to set the Alternative Text here it would apply the text to all images using that TV, hence the same description for varying images. The idea would be to assign alt text per image.
Is there a way that the Alternative Text field could somehow appear within the FCKeditor? or as simple text field below the image upload field?
You can use another TV(Text) for alt property.
Just make [*AlternatePropertyValue*] and put it in the setting of Imgae TV.
Wow, that easy !!
Thanks a bunch tkfm.
I was beginning to wonder why it wasn’t possible but was just reminded just how common sense powerful MODx really is.