• Resolved dazzledorf2019

    (@dazzledorf2019)


    Hello,

    how do I create a link to the full size image on the property image on the property-content.php?

    Thanks for considering my request, Kay

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello.

    First of all, you could try to disable fancybox in the Settings/Main tab.

    Regards.

    Thread Starter dazzledorf2019

    (@dazzledorf2019)

    Hello Maria,
    thanks for your quick reply, but nothing happens by disabling the fancybox.

    Best regards, Kay

    Thread Starter dazzledorf2019

    (@dazzledorf2019)

    Hello Maria,

    problem solved. I replaced the code:

    section class=”property-image”>
    <?php the_post_thumbnail(‘property-featured-image’); ?>
    </section>

    from the Madison-theme in property-content.php with:

    section class=”property-image”>
    <a class=”fancybox_image” rel=”fancybox”
    href=”<?php echo wp_get_attachment_url(get_post_thumbnail_id(get_the_ID())); ?>”>
    <?php echo get_the_post_thumbnail(get_the_ID()); ?>

    </section>

    from the content-property.php of the Avalon-theme.

    Thanks, Kay

    Thread Starter dazzledorf2019

    (@dazzledorf2019)

    solved

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Ok. Thank you for the feedback and your notes.

    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Link to full size image’ is closed to new replies.