API integration Failed

Posted in: Newspaper
Post count: 34

Hi there and happy holidays,

Could you help me with the api integration? Not sure if it’s the WP theme code or not, but i’m not getting the “Buy Images” overlay button when I try to wrap the image url the the tag div code they have instructed.

Here are their instructions: https://developers.canvaspop.com/documentation/integration-wordpress

Here’s the page on my website i’m trying to input the code:

the url is https://createfatemedia.com/for-sale

A few things to note:

1) looking at the code from the page it appears that it has recoded/shortened the standard code? See below

standard image url:

<img src=”http://lorempixel.com/200/200/&#8221;

my theme image url on the gallery page:

[tdm_block_inline_image image=”492″ display_inline=”yes” image_height=”560″ image_width=”1000″ tdc_css=”eyJhbGwiOnsicGFkZGluZy10b3AiOiIxMCIsInBhZGRpbmctcmlnaHQiOiIxMCIsInBhZGRpbmctYm90dG9tIjoiMTAiLCJwYWRkaW5nLWxlZnQiOiIxMCIsIndpZHRoIjoiMzMlIiwiZGlzcGxheSI6IiJ9LCJwaG9uZSI6eyJwYWRkaW5nLXRvcCI6IjUiLCJwYWRkaW5nLXJpZ2h0IjoiNSIsInBhZGRpbmctYm90dG9tIjoiNSIsInBhZGRpbmctbGVmdCI6IjUiLCJ3aWR0aCI6IjEwMCUiLCJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3LCJwb3J0cmFpdCI6eyJwYWRkaW5nLXRvcCI6IjUiLCJwYWRkaW5nLXJpZ2h0IjoiNSIsInBhZGRpbmctYm90dG9tIjoiNSIsInBhZGRpbmctbGVmdCI6IjUiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9″ modal_image=”yes” content_align_horizontal=”content-horiz-center” media_size_image_height=”900″ media_size_image_width=”900″]

Thanks in advance for your help,

Post count: 20688

Hi,

From what I can see in their instructions they say that the images should be wrapped in a specific div with a class
https://www.screencast.com/t/KZ7jiLuwzJyt
That can be done in a simple page that is not built with the composer, in the text tab. Or in a page built with the composer within a text element (this could work). Each image has to be wrapped in the div with class. Maybe try it like that and check the results.

Thanks

Post count: 34

Ok, I’ll duplicate the page using WP bakery composer and see what happens. Thanks for your reply.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.