J. Doe
J. Doe

Reputation: 160

Getting number of photos from photobucket

I am wondering if it is possible to print all images from a photobucket gallery on my website, any ideas or headups where I should start or a piece of sample code I could use to get started would be great.

Basically my idea is to get the number of pictures and the url of the images

so it would create a PHP code that would look like this

$max_images = $calculated_images_from_photobucket;
for($print_images = 1; $print_images <= $max_images; $print_images++){
echo '<img src="photobucket.com/gallery/'.$calculated_imagename_from_photobucket.'">'; 
}

Any help would be appreciated

Upvotes: 1

Views: 80

Answers (0)

Related Questions