How to swap image used for entry_with_sidebar with image generated for masonry?
I have used ShortPixel to optimize images, and if I simply recreate in correct dimension, the optimisation will be gone + the image is natively small, so I would prefer the displayed image be a bit smaller than the pop-up one.
thanks
Hey MORTULGAAH,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
Basilis
Thanks.
I am not sure if that is the correct way to do it, but I managed to swap the image used by replacing ‘entry_with_sidebar’ with ‘masonry’ in single_portfolio.php and it worked…. :-/
$avia_config[‘size’] = avia_layout_class( ‘main’ , false) == ‘entry_without_sidebar’ ? ” : ‘entry_with_sidebar’;
This was hit and miss, but it worked.
Hi MORTULGAAH,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria