Home › Forums › Jevelin Theme › imagify
Home › Forums › Jevelin Theme › imagify
i have installed imagify and it works perfect on amp
https://www.saveatrain.com/blog/apps-download-traveling/amp/
but on the regular desktop no
https://www.saveatrain.com/blog/apps-download-traveling/
do you support this theme? is there any change i need to do, to make it work?
Hi @SaveATrain,
I hope you are well today and thank you for your question.
Could you please contact the imagify plugin support to resolve this that you are using on your website?
Best regards,
Shufflehound team
the theme has to have support to imagify, thats what they are saying
also how come our amp version knows to recognize the webp files?
We haven’t developed any code specific for the imagify support.
The AMP functionality is handled by the AMP plugin.
ok so please help me another way
the webp files are created like this in the same directory
the original files are
what shall i edit in order to make the jevelin work on the .webp files
Could you please first tell me whether they work fine with the default WordPress theme such as the Twenty Twenty theme?
i can’t verify it on our blog,
BUT look at this theme support thread
https://xtemos.com/forums/topic/theme-compatibility-with-imagify-webp-images/
they added the support,
but anyways, please just tell me what files to edit on jevelin and i will edit them
i am almost certain the solution is in content.php
i just need you to tell me, how to ammend there, that it takes all the image links from wordpress + adding to it .webp
The theme uses the WordPress function get_the_post_thumbnail to display the images but I am not sure how you want to change it.
so in content.php i found this line
img class=”sh-image-url” data-src=”<?php echo jevelin_get_thumb( get_the_ID(), $image_ratio ); ? />” alt=”” /
can i change it to something like
img class=”sh-image-url” data-src=”<?php echo jevelin_get_thumb( get_the_ID().webp, $image_ratio ); ? />” alt=”” /
because all the files that wordpress is bringing you, we already created with imagify .jpg.webp files for example
I don’t know how to achieve this and developing custom code for custom functionality is beyond the scope of support that we provide here. Please see https://themeforest.net/item/jevelin-multipurpose-premium-responsive-wordpress-theme/14728833/support
If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Shufflehound recommends the developer https://www.upwork.com/freelancers/~011652ffec8865c6d5