1

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

user3389196
  • 161
  • 1
  • 6
J. Doe
  • 160
  • 11
  • What is $calculated_imagename_from_photobucke ? – Niklesh Raut Jun 11 '16 at 15:46
  • 1
    https://bitbucket.org/photobucket/api-php5-pear/src – SML Jun 11 '16 at 15:47
  • It is supposed to be an image URL that should automaticly be generated from a photobucket gallery, how to get the URL is the question haha, same as how to get $max_images, its just an example to demonstrate that its the 2 functions I would need to make it possible – J. Doe Jun 11 '16 at 15:49
  • 1
    refer [here](https://github.com/Rohan-Ravindra-Khude/photobucket) – Rohan Khude Sep 08 '16 at 17:49
  • 1
    refer [here](https://github.com/Rohan-Ravindra-Khude/photobucket) which gets the URL of images from `user library` and `/images/\S`. If you are looking images from different photobucket source, then what is link for it. Please provide the link you are looking for. – Rohan Khude Sep 08 '16 at 17:54
  • Works perfectly mate, too bad it just takes forever to load. – J. Doe Sep 09 '16 at 18:54

0 Answers0