Can you give me the feed?
Hi,
the image is exported as
ATTACH;VALUE=URI;FILENAME=Kundalini Yoga Studio cropped ikyta.jpg;
FMTTYPE=image/jpeg;MANAGED-ID=a75c198766;SIZE=59045:https:
//p28-caldav.icloud.com/921694958/attach/2_UD44PQPF3C5CDZJOHK7Z3E7EHVWZEOD
2FC2MECUQUKR667UYJRN6IAKZP3BQJ237GRTLOAQS4S4ANKRCAPMWWCIKKV22RMABTLAKLG2BD
5UFFY2TUKIDWZZDXV2NDISXALQGUD4ENDJ544YQVAKA44XT3J74PDX2UYIV4627PP4Y7RS5I67
X2ARLPDU7FSRQFHYCFBA2V6N2QEQPJVNXMAXRIHTDGJIILN3IYEI/Kundalini+Yoga+Studio
+cropped+ikyta.jpg
We do not parse the ATTACH value for now, i’m sorry, this is why it doesn’t work. IT should be linked directly into the description
Let me make sure I understand. If I want the photo to automatically display in the event, I need to make it available somewhere on the internet and include a valid link?
Hi, no if you want to display the photo it must be exported as html markup in the field “DESCRIPTION”
DESCRIPTION:Karambir Singh Khalsa leads you through 90 minutes of
Kundalini Yoga and Meditation as Taught by Yogi Bhajan. Please wear
loose-fitting\, comfortable\, yoga clothes which cover the arms\, legs\,
and chest. Bring a mat and water to hydrate after class. $10
This field can contain HTML markup and it becomes the event description
So it should be contained with a <img> tag?
Yes, you should get the value from attach as
https:
//p28-caldav.icloud.com/921694958/attach/2_UD44PQPF3C5CDZJOHK7Z3E7EHVWZEOD
2FC2MECUQUKR667UYJRN6IAKZP3BQJ237GRTLOAQS4S4ANKRCAPMWWCIKKV22RMABTLAKLG2BD
5UFFY2TUKIDWZZDXV2NDISXALQGUD4ENDJ544YQVAKA44XT3J74PDX2UYIV4627PP4Y7RS5I67
X2ARLPDU7FSRQFHYCFBA2V6N2QEQPJVNXMAXRIHTDGJIILN3IYEI/Kundalini+Yoga+Studio
+cropped+ikyta.jpg
is the url of the image
$e->getProperty( 'attach' );
could work
I need to know where this function is found: get_post_thumbnail_url.
The function is
public function get_post_thumbnail_url( Ai1ec_Event $event, &$size = null ) {
return $this->_get_post_attachment_url(
$event,
array(
'medium',
'large',
'full',
),
$size
);
}
you can call it with $this->_registry->get( 'view.event.avatar' )->get_post_thumbnail_url( $event, $size );
my mistake. I need to see the definition of get_image_from_content
also, when I attempted to enter html content in the description, the feed import created a second event rather than update the existing one.