moryde
Forum Replies Created
-
I will look at it when you post it.
Please provide a link to the page you are working on. Then it will be a lot easier to help you. =)
You are most welcome.
I just want to make sure that fetching all the URLs of the images might not be that hard actually. I have not tested it, but it seems like this piece of php could do the job of getting the URLs.
http://www.electrictoolbox.com/extract-images-web-page-php/
At least it is here for future reference.
//morten
Link to the site we a talking about?
Which URL? I depends on if there is an API which you can hook into. From my knowledge it is not something you would be able to do ‘out-of-the-box’. It would require you to make some php script that fetched the images. If you want to display the pictures from an external site on your own, then I dont quite understand why you want NGG to play a part in that?
Check ngg-db.php line 612.
function add_image( $id = false, $filename = false, $description = ”, $alttext = ”, $meta_data = false, $post_id = 0, $imagedate = ‘0000-00-00 00:00:00’, $exclude = 0, $sortorder = 0 )
This is how you in PHP can add images to the ngg database.