Jump to:
| Project: | ImageField Extended |
| Version: | 6.x-4.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Alan
I think this module is the solution to my requirement, but am confused by the instructions.
I have a block generated by a View which simply lists out all the images ( photos ) uploaded to a multi-value Imagefield. I would like to ( optionally ) add a little text credit below each photo.
I have installed the module but have lost my way with the help text "One textfield form API key / value per line. Key / value pairs must be entered seperated by pipes (|), such as "fapi_safe_key|Some readable option"."
I don't understand what they value pairs actually are ? What is a "textfield form API key" and what is the "readable option" ?
Apologies for my ignorance. Any pointers appreciated.
Thanks
El B
Comments
#1
Hi
The key is a machine code. This is used in the database to record what the label or human readable title is. So you can change the label latter and the old values will still map to the new title.
So for a caption:
caption|Caption for the image
or just
caption|Caption
Once you save this page, head over to the image field settings and enable the caption field on the content type that you need it for.
Latter on, I would recommend using the custom formatter module (see link on the project page) to make the template for the image field. This allows you to map the tokens for the image, caption, etc with HTML which then gets rendered. Otherwise it requires some PHP coding to use the caption in a nice format
#2
Hope you got this working ok :)
#3
Automatically closed -- issue fixed for 2 weeks with no activity.