Im basically looking for a similar solution. I have an image inserted via the single image element, but how does the theme resize the image to work with 2x size? Currently I need to insert the image with exact dimensions, but that makes it render badly when on a high res tablet / screen.
Unfortunately I haven't tested with the WP Retina 2x Plugin and making it work with the image element in VC might require some tweaking. If you want to get at the code for it you can find it in the nectar/tinymce/shortcode-processing.php file (just search for "image_with_animation" to end up at the right place.
Is it possible to add an image size option to the visual composer single image element? I need this option to work with the WP Retina 2x Plugin.
Hi,
Im basically looking for a similar solution. I have an image inserted via the single image element, but how does the theme resize the image to work with 2x size? Currently I need to insert the image with exact dimensions, but that makes it render badly when on a high res tablet / screen.
Hey Manuel,
Unfortunately I haven't tested with the WP Retina 2x Plugin and making it work with the image element in VC might require some tweaking. If you want to get at the code for it you can find it in the nectar/tinymce/shortcode-processing.php file (just search for "image_with_animation" to end up at the right place.
Cheers!