using large size instead of full size enlargement
-
I’d like a thumbnail to link to a large-size image enlargement instead of the full-size image and am attempting to use a filter in the theme’s function.php:
function foogallery_custom_size( $args ) { $args['href'] = '{url of large-size img}'; return $args; } add_filter( 'foogallery_attachment_html_link_attributes', 'foogallery_custom_size' );
It’s not working – the thumb still links to the full-size image. What am I doing wrong?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘using large size instead of full size enlargement’ is closed to new replies.