increase slider but still keep jetpack photon

I have tried increasing slider size by the way described in
https://colorlibsupport.com/t/slider-size-1500-x-750-px/
which works but is a hard trade off to loos Tiled Galery of Jetpack :frowning:
How can I get photon fixed to pick the correct image size??? From where does jetpack cache server receive the wrong dimensions?

Hi Tino,

I hope you are well today and thank you for your questions.

The jetpack photon module stores images on wp.com so to resolve the issue either disable this module or update the images on wp.com by contacting jetpack support team.

Best Regards,
Movin

Hi Movie,

thanks for reply. I know the pictures are stored on wp server but my question is - where does wp/ jetpack get the information which size of slider_picture to generate and provide?
In the theme I found the definition (attached) for the different sizes. Is this the place where jetpack gets this information or is there any other place to define it?
My point is, I would understand if old pictures are not updated due to some cache behavior on wp.com but what about new pics added? Why new pics also get the old size-definition?
I’m pretty lost right now :-/

Thanks and Regards
Tino

Actually I am not sure exactly how the jetpack photon module stores images on wp.com so if you contact jetpack support team then they can help you quickly in this case.

Hi Movin,

I already contact jetpack support and will wait for their reply. But can you confirm that the code from my screenshot is the only place the picture size for slider is defined or is there any other config? Just want to make sure JP can’t pickup the old size Informationen anywhere…
still have a hard time to understand why JP keeps generating on old size … somewhere still has to be a definition for that, how else could JP know what to generate?
Thanks for your patience with my issue :wink:

Regards
Tino

hi Tino

Yes, you are on correct location for changing image size, :wink:
Let us know if anything is required from us

Hi Noda,

no its not the only place to change the size! Found it now and resolved the issue.
There is again slider image size definition in inc/extras.php.
Here is the place activello tells photon to resize image to a certain size.
If you change also this size information everything is fine using increased slider size AND JP photon


if ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'photon' ) ) {
$feat_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' );
$args = array(
'resize' => '1920,730',   // orig 1920,550
);
$photon_url = jetpack_photon_url( $feat_image_url[0], $args );
echo '<img src="' . $photon_url . '">';

Awesome great to see you got that resolved.

Please advise if you have more questions.

Have a fantastic day!