 Baf
|
When thumbs captions are disabled (and they are not showing in the gallery view) they are still showing when inserting them via shortcode
|
 Marcel
|
The shortcode image is not the same as a thumbnail image, even if they have the thumbnail size.
|
 Baf
|
So, I think that disabling images name (DSC_3543.JPG) everywhere except breadcrumbs is a good idea.
For what purposes we give our readers a image name, when it has no captions?
It is boring There is a workaround – to have friendly captions for EVERY image – but it’s very big work, and boring too
Please, add a logic “If there is no user-defined caption, when insert nothing in foto caption”
|
 Marcel
|
It will not be an options, but wait 15 sec and download latest from trunk.
Use filters:
function my_caption( $caption, $image ) {
if ( '' == $image->caption )
$caption = '';
return $caption;
}
add_filter( 'lazyest_image_caption', 'my_caption', 10, 2 );
|
 Baf
|
Thanks a lot another time
It adds about 0,005 secinds to the page generation, but it works =)
|