News:

Support the VirtueMart project and become a member

Main Menu

Free VirtueMart Open Graph Meta Tag for Facebook sharing

Started by Jumbo!, December 20, 2012, 21:12:32 PM

Previous topic - Next topic

Ventsi Genchev

Hello Jumbo,

Yes, I know the requirements of Facebook. But I notice that Amazon and Ebay have solved this problem.
My idea is that perhaps this problem can be solved with some dynamic resizing of the image (if it is square).

For example, on my old site I've set up to add a watermark to each photo. This is only achieved by adding two files - php and htcccesses.
In my opinion, it should be possible to set htaccess to determine where the photo request comes from, and if it comes from facebook, resize the photo horizontally. Simply add transparent fields to the left and right of the photo to achieve the required size.
For example, if the photo is 1000x1000 pixels, resize to 1900x1000 pixels without losing content.
What do you think about that?
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Jumbo!

Quote from: Venci Gentchev on July 24, 2017, 11:48:19 AM
My idea is that perhaps this problem can be solved with some dynamic resizing of the image (if it is square).

For example, on my old site I've set up to add a watermark to each photo. This is only achieved by adding two files - php and htcccesses.
In my opinion, it should be possible to set htaccess to determine where the photo request comes from, and if it comes from facebook, resize the photo horizontally. Simply add transparent fields to the left and right of the photo to achieve the required size.
For example, if the photo is 1000x1000 pixels, resize to 1900x1000 pixels without losing content.
What do you think about that?
Yes, that is possible. But IMHO that does not really come under the scope of a meta tag plugin.

Thanks for the ideas.

Ventsi Genchev

Hello Jumbo,

I succeeded in the task.  :)
htaccess calls a php file which from a 1000x1000 pixel image, recreates a 1900x1000 pixel image, giving transparency to the left and right. Just for facebook or whatever else is needed (for example, for google).
I am very happy about this. :)
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Jumbo!


Ventsi Genchev

If you want, I can send you the files. Perhaps it is good to improve the plugin by including the files in it. Additionally, you can select the output size of the image in the plugin settings. And under what conditions to act.
Of course if you have time for that.
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Jumbo!

Sure, I would love to take a look at it.

Ventsi Genchev

Ok, just a little more I can do it, and I'll write to you a private message.
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Jumbo!


Ventsi Genchev

I tried to send you a message, but:
User 'Jumbo!' has blocked your personal message.

:)
If you want, write to me a personal message with your email so I can send you the files.
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Jumbo!


Ventsi Genchev

Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Jumbo!


YodaStudio

Hello Jumbo,

your extension is what I'm looking for a website I'm working on.
My only doubt is about last update: it looks like nothing has been done since 31 March 2015.
Is that an abandoned project or is still an active extension?

Furthermore, does it have any conflict with the K2 OG generator?

Thanks.
-- Do. Or do not. There is no try. --

www.yodastudio.com

Jumbo!

The plugin still works fine with latest Joomla 3.8.2 and VirtueMart 3.2.4. Therefore we have not released any newer updates.

We have not tested it using K2. If you need you can disable the plugin for K2 pages.

YodaStudio

Thanks a lot for your answer.
I'll give it a try and let you know about how it works with K2.
-- Do. Or do not. There is no try. --

www.yodastudio.com