View Full Version : Add image url to display in PHP Photo Album script

03-15-2013, 04:20 PM
1) Script Title: PHP Photo Album script v2.11

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm

3) Describe problem:
a) I would like to be able to display the image URL underneath the image. Actually, ideally, I'd like to have a link display under the image reading "Get Image URL" that, when clicked, would open up an input box where, when the user clicks in it, the whole URL is autoselected. Even better, have it auto-copied to user's clipboard. But even just the first part, having the URL display, would be enough. It seems like it shouldn't be that hard to manage but my coding skills are nearly nonexistent. Thanks for any help.

b) In addition, the script is working well for me but the gallery only displays 6 images per page. Is it possible to adjust this number to, say, 10?

04-22-2013, 05:37 AM
So... can anyone help me with the above? Thanks for any assistance.

04-22-2013, 05:33 PM
I am not sure about the 3a but for the 3b you can adjust the number of images per page by changing the "dimensions" parameter. To do that in the script locate "dimensions: [3,2]" and change the 3 that represents number of pictures in the row to your preferred number. Number 2 represents number of rows so you can change that as well to show more pictures at once.