I am trying to find a way to display a text listing of my gallery, where the title of each image is displayed and is linked to the actual image in the gallery.
In trying to use this module using the text listing, it is asking me to insert some text to use for the link, whereas I am actually wanting to use the image title.
With almost 200 images, I would like to do this dynamically.
Also, is there any way to insert <BR> so the text is not all on one line?
Thanks
Posts: 492
In g2image/jscripts/functions.js, try changing this part
to this
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 11
That definitely did it for the line break, I am getting close.
However, I would like the title of the image to be displayed. What is happening is that the link says undefined.
Any ideas?
Thanks!
Posts: 492
Make sure it reads item_title as above. I edited the entry right after I posted it, but forgot that you would probably get an e-mail with the wrong image_title that I originally posted. (If that doesn't work, let me know. I'll have to go back to 3.0.2 and dig around more. My current codebase doesn't look at all like it did in 3.0.2. I think the code above is right, but I can test it on my demo, if needed.)
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 11
I went ahead and recopied your sample back into my .js file and I am still getting the undefined.
The links to the images are working fine, so I know it is connecting to my galleries. It is also capable of showing thumbnails, so that works also. For some reason, those titles are not coming through. Would it help if I provided the link?
http://www.jimwarren.com/site/index.php?option=com_content&task=view&id=21&Itemid=66
I appreciate your time. I really hate to be a pest, and actually had tried what you suggested previously, but I just cant seem to get around this one, and it is the best solution possible for this application.
Thanks again.