I need to modify the default gallery code, I need the alt of the image to be the path to the big image. I've modified media.php like this:
function wp_get_attachment_image(........... 'alt' => $src, 'title' => trim(strip_tags( $attachment->post_title )), ..........
But now my alt is the path to the thumbnail of the image, I need the path to the big one, how can I do that?
Thanks for your time.