I'd like to be able to use images stored in G2 in my Mambo articles. I tried symlinking ../images/stories in Mambo to g2data/albums in G2. It sort of worked but some things were broken.
How can I use the Mambo Media Manager to view and therefore add images to my Mambo articles using G2. Note that I am not trying to manage G2 from w/in the Media Manager component of Mambo.
I guess i'm going to need to tell G2 that the g2data file is located at images/stories. Is that correct? What about permissions based issues from w/in Mambo? Any other issues? Any help appreciated.
Posts: 430
charlier,
yes you can place the g2data in media manager, but all other date will be placed there also!!!
You lose all permission if you do, everybody how has acces to the media manager will be able to brows the pictures.
more likely solution would be to edit the code of media manager to fetch a list of photo's from gallery2
grtz,
Michiel
Posts: 11
Any quick suggestions on where that code is located? I should be able to modify it to read from g2/g2data/albums if you can point me to the right files in Mambo.
Thanks,
Charlie
Posts: 430
charlier,
you could try include/mambo.php
line 37 fot paths
the scanning function starts at line 3530
!!make back up before you alter that file!!
regards,
Michiel
Posts: 32
Hey guys, it would be a great feature, an invaluable improvement to the integration!!
charlier, how is it going?
Do you think you'll be able to achieve it?