• Hi I’m a bit of a noob when it comes to coding!

    I’m trying to get magiczoom plus to work with cartpress and the wordpress boot theme featured image. This is working natively but with only the image size that i chose, when I try posting the large image instead it displays full size like in the link http://www.zuzanaperner.com/product/blue-horse-oil-painting/ I cannot seem to be able to find anywhere where I can make this product image the thumbnail size with the zoom function.

    I can use the below code in the description area and it works perfectly but there does not seem to be a way to use this code in the product image, am i missing something? Thanks

    <a href="big.jpg" class="MagicZoomPlus"><img src="small.jpg"/></a>

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter nickjarvis

    (@nickjarvis)

    I’ve got a feeling it’s something to do with the below code? Is that correct? This is from wp-admin/theme-editor.php?file=single-tcp_saleable.php&theme=boot-store`$imageFull = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘full’ );
    if ( function_exists( ‘magictoolbox_WordPress_MagicZoomPlus_init’ ) ) { ?>
    <a class=”MagicZoomPlus” id=”MagicZoom-single-product” href=”<?php echo $imageFull[0]; ?>”>
    <?php $image = the_post_thumbnail( null, $image_size_content );`

    How did you install Magic Zoom Plus?

    It works with CartPress and the WordPress boot theme, so it should just be a matter of following the setup instructions here:

    http://www.magictoolbox.com/magiczoomplus/modules/wordpress/

    If you get stuck, help is available from the Magic Toolbox developers.

    Thread Starter nickjarvis

    (@nickjarvis)

    Hi, thank you for your reply. I used this tutorial of yours but the problem is featured image in wordpress does not allow me to have html access to my theme to put in the piece of code

    <a href="big.jpg" class="MagicZoomPlus"><img src="small.jpg"/></a>

    As described in your support pages

    Any help would be greatly appreciated

    Thanks

    Is the featured image the home page banner? As you say, it doesn’t give you the control to edit the HTML around it so you can’t apply Magic Zoom Plus automatically. You’ll need to make some edits to the template files.

    The tech support team can give you more advice, via the contact form and perhaps make some edits to your template.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to use Magic zoom plus with featured image in Cartpress’ is closed to new replies.