How to set image in zoo content for Facebook share correct?

3 years 2 months ago #146
Topic Author
maxgdias's Avatar
Posts: 4
How to set image in zoo content for Facebook share correct?

I install your plugin and try share in facebook.
The image share in post was not the post image, your plugin show another image in page.

How can i fix this?

3 years 2 months ago #147
Topic Author
maxgdias's Avatar
Posts: 4
Re: How to set image in zoo content for Facebook share correct?

I found in documentation.
Add the element in position and all its workin now.
Thanks

3 years 2 months ago #148
Topic Author
maxgdias's Avatar
Posts: 4
Re: How to set image in zoo content for Facebook share correct?

Its me again.........

In pages with horizontal images, its workin;
[domainURL]/clientes/adpergs/index.php/widgetkit/noticias/item/adpergs-acompanha-entrega-de-documento-sobre-ldo-ao-procurador-geral-de-justica

In pages with vertical images no...
[domainURL]/clientes/adpergs/index.php/widgetkit/publicacoes/item/guia-pratico-do-estagiario


This is my render to vertical and horizontal images.
I have two separeted mode to show differents fileds: Horizonta and Vertical, look:

<?php if ($this->checkPosition('midias-v')) : ?>
        
        <div class="posts-midias-vertival">
            <div class="posts-midias-v">
                <?php echo $this->renderPosition('midias-v'); ?>
            </div>
            <div class="posts-titulo">
                <?php echo $this->renderPosition('titulo'); ?>
            </div>
        </div>
    <?php else :?>
    
    
	<?php if ($this->checkPosition('midias')) : ?>
    <div class="posts-midias">
        <?php echo $this->renderPosition('midias'); ?>
    </div>
    <?php endif; ?>

Can you help me please?

Last edit: 5 months 3 weeks ago by Eugene. Reason: The URL is broken

3 years 2 months ago #149
Eugene's Avatar
Posts: 417
Re: How to set image in zoo content for Facebook share correct?

Dear maxgdias,
Thanks for your request. Could you provide more details about your problem, please? According the information you've posted above it's not clear what exactly is wrong.
By defalt plugin takes first image of the article, but you can select correct image for Open Graph tags manually when edit article.


Like our extensions and support?
Add your voice to the JED listing with a 100 score review:: bit.ly/2ciJBqC
Thanks!

3 years 2 months ago #150
Topic Author
maxgdias's Avatar
Posts: 4
Re: How to set image in zoo content for Facebook share correct?

Ok, thanks.

The problem was:

If i share article zoo with image horizontal, the plugin load correct image in article look:http://www.estudiomx.com.br/clientes/adpergs/index.php/widgetkit/noticias/item/adpergs-acompanha-entrega-de-documento-sobre-ldo-ao-procurador-geral-de-justica

If i saher article zoo with vertical image, the plugin load other image in page was not the article image:
[domainURL/]clientes/adpergs/index.php/widgetkit/publicacoes/item/guia-pratico-do-estagiario

In this second link, the plugin dont "render" op:image.

Its very bad select image twice times, one for article, one for OpenGraph.

This is the code to render image vertical, horizontal and title in differents positions:



Can you help me please?
Thanks, for attention.

Last edit: 5 months 3 weeks ago by Eugene. Reason: The URL is broken

3 years 2 months ago #151
Eugene's Avatar
Posts: 417
Re: How to set image in zoo content for Facebook share correct?

Hello maxgdias,
Actually, this is not bug. Plugin proceeds default image or image which manually was selected in article's settings. it's needed to customize plugin according to your ZOO application and to technical requirements which is out of technical support. But you can post a request in special forum section commercial jobs .
Thanks for understanding.


Like our extensions and support?
Add your voice to the JED listing with a 100 score review:: bit.ly/2ciJBqC
Thanks!

You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+2). but not limited. Our staff will be pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days. In case of free extensions we do the best to develop and maintain them either, but their support is not necessary.

Product Latest Update