- rt_media_thumbnail : For thumbnail image
- rt_media_activity_image : For medium size image
- rt_media_single_image : For large size image
- rt_media_featured_image : For featured image
The following is sample code which you can use in your theme, plugin or custom code where you can use these keywords.
$image_sizes = array( 'rt_media_thumbnail', 'rt_media_activity_image', 'rt_media_single_image', 'rt_media_featured_image' );
$attachment_id = 8; // attachment ID
foreach ( $image_sizes as $image_size ) {
$url = wp_get_attachment_image_src( $attachment_id, $image_size );
}