Archived topic
Create a fancybox in generatepress
3 replies · Started by Roger on February 15, 2023
Hi there!,
I would like to recreate the fancybox used in the ahref blog images to improve mainly the visibility of images on mobile devices.
As in this blogpost:
https://ahrefs.com/blog/es/marketing-contenidos-saas/
Screenshots:
https://cdn.zappy.app/0d942b7a6eab8b82baaf647e8742c118.png
https://cdn.zappy.app/069efd4c68b1d2eb4c7c2e4151971f1a.png
What do you recommend to replicate this?
Thanks a lot
Hi there,
are you wanting to add a border/shadow around the images ?
No. What I want is the possibility to click on the images and expand them.
The closest solution I can think of is to set the image block link to Media file:
https://wordpress.org/documentation/article/image-block/#link-settings
The zoom effect in the example site would require a third-party plugin or a custom solution for sure - unfortunately I cannot identify this in the example site due to caching.
Perhaps you can try getting in touch with the site owner and see if he can share the information?
You can also open a topic in a general WordPress forum like Stack to see get more audience:
https://wordpress.stackexchange.com/
Hope this helps :)