Images are not zoomable on non logged in users
-
The zoom only works when i am logged in otherwise the images are not zooming and only the icon appears, why is that?
Here is how my code is:
if ( has_post_thumbnail() ) { if ( ( function_exists('cc_zoom_featured_image') ) && ( is_singular( 'post' ) ) ) { echo do_shortcode( '[zoom zoomin=2]' ); } else { echo ! is_single() ? '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' : ''; the_post_thumbnail( 'tyche-blog-post-image' ); echo ! is_single() ? '</a>' : ''; }
}
- This topic was modified 6 years, 10 months ago by .
- This topic was modified 6 years, 10 months ago by .
- This topic was modified 6 years, 10 months ago by .
- This topic was modified 6 years, 10 months ago by .
- This topic was modified 6 years, 10 months ago by .
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Images are not zoomable on non logged in users’ is closed to new replies.