Also maybe you do not need a specific field
you can use the general event
(for example .., see plugin
plugins/flexicontent/flexinotify.php
)
Code:
/**
* This method is executed just after an item stored (including custom fields)
*
* Method is called by the model
*
* @param object The item object.
* @param object The complete $_POST data
*/
function onAfterSaveItem( &$item, &$post )
{
}
Just in case of image field there is some more complex manipulation
-- like the small / medium / large thumbnail generation
and it is best not to "reverse engineer" / guess their paths
so please answer me what the Intro / Full image should be ?
i think my above comment to use 1st image for intro and 2nd image for Full was wrong !!!
Instead this is more proper
For both Intro and Full images will would use the 1st image !!
- we just need 2 new parameters
Use 1st image (thumbnail) as Intro:
- No
- small
- medium
- large
- original
Use 1st image (thumbnail) as Full:
- No
- small
- medium
- large
- original
right ??