Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Nov 2011
    Posts
    59
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Retrieve/get current image from Nextgen gallery db

    I thought that I can do it using the database where the idea was to get the image from the ngg_gallery_pictures table, where the browser URL is equal to URL of the image in the table. Then I will get only one image and that's also what I want. Probably I have some mistake here since I don't have a lot of knowlednge in sql but I would like to find the solution for it anyway..

    Please let me know what you think and if you can include the code for mysql, it will be great (it is really short from examples that I saw)

    Many thanks!

  • #2
    Senior Coder
    Join Date
    Jun 2008
    Location
    New Jersey
    Posts
    2,535
    Thanks
    45
    Thanked 259 Times in 256 Posts
    Have you already extracted the image name/extension? NextGen doesn't store the image URL, just its file name.

    Do you have any code at all? I'm confused where you're having trouble. Do you not know MySQL at all? Or how to implement this particular issue?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •