Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #836713

    Is there a way to have an image swap on hover within a gallery? My gallery has 16 different images and each would need to have a unique rollover image. Or is there a way to control the caption pop-up so it is centered over the image and not above it. If there is a way to control the caption then can I also control it’s shape, I’d rather it be a square like the picture frames within the gallery.

    #836761

    Hey JeffDale,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Best regards,
    John Torvik

    #836771

    Unfortunately it is on a local server at this point. Would screen captures help in any way?

    #837280

    Hi,

    There is no functionality for changing the image on hover by default in the theme unfortunately, so you would have to look for a plugin or custom solution to implement that.

    Best regards,
    Rikard

    #840983

    The site is now live.
    I altered my course and decided to link the gallery image to the corresponding section in my site. I install this plugin http://wordpress.org/plugins/wp-gallery-custom-links/ and insert this code:

    add_filter(‘avf_avia_builder_gallery_image_link’, ‘avia_change_gallery_thumbnail_link’, 10, 4);
    function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta)
    {
    $custom_url = get_post_meta($attachment->ID, ‘_gallery_link_url’, true);
    if(!empty($custom_url))
    {
    $link[0] = $custom_url;
    $link[‘custom_link_class’] = ‘aviaopeninbrowser’;
    }
    return $link;
    }

    I added it into the functions.php by navigating Appearance / Editor / Templates and selecting Theme Functions (functions.php)

    It added the tools correctly but when testing one of the images in the gallery it won’t link. Any suggestions?

    #841019

    Never mind. I switched to the masonry gallery and got it to function as needed.

    #841173

    Hi,

    Thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.