Skip to main content

#69 Forcing size display

Posted in ‘NorrCompetition’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
8.1.21

Latest post by sulpher on Thursday, 12 October 2023 17:46 EEST

mjl1817

Hi, I'm hoping that this is both doable and has a simple solution.

No matter what size I try to set the images at when it comes time to allow a fb share the image gets clipped.  example here: https://nosterest.com/nc-contest/test

The preferred size is too small for fb to grab so I have been using a scaled-up size. is it possible to force a background to be a part of the image so that the overall dimensions become larger? (This will be for future items where scaling might not work. I have read the documentation but can't find a solution) I have it scaled up so that it is positioned at the top of the share as opposed to the side of it

Also, on the community builder integration is there a way to have it pull a custom field from community builder for the "Contestant Title"? I have a field  "screen name" that I would much prefer to use if at all possible.

Thx,

Mike

sulpher

Hi Michael,

This task can be resolved via custom plugin.

NorrCompetition component allows to proceed data for Open Graph via the custom plugin and prepare the new image according to your requirements. 

Here is the documentation:

https://docs.norrnext.com/norrcompetition/customisation/events/other#onopengraphprepare

Using this methodology it's possible to develop custom plugin which will replace core Open Graph image processing to your own one.

 

Best regards,

Eugene

sulpher

As for another question:

> Also, on the community builder integration is there a way to have it pull a custom field from community builder for the "Contestant Title"? I have a field "screen name" that I would much prefer to use if at all possible.

Sorry, there is no such integration. The component operates with own fields only.

mjl1817

I have not had the time nor the ability to do this myself. What would you charge to build this custom plug in for me?

b2z

Hello,

Please send us your request with the requirements to support@norrnext.com

Thank you.

Kind regards,

Dmitrijs

sulpher
Hello Michael,

We did not receive your e-mail with the request.
Could you let us know is it still actual for you?

Regards,
Eugene
Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is 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.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.