I\'m using this code to get all images uploaded to a page and it\'s working fine but I\'d like to use the image urls for a lightbox function and currently I\'m getting an
Have you tried
<?php echo wp_get_attachment_url( $attachment_id ); ?> // $attachment_id is The ID of the desired attachment