coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Rcostello on February 26, 2007, 08:21:44 PM

Title: displaying image Title and Description with cpm fetch
Post by: Rcostello on February 26, 2007, 08:21:44 PM
I am able to display random images using cpmfetch but I am trying to figure out how to display the image title and description with the thumbnail image.  Is that possible and what would be the function calls for that.
Title: Re: displaying image Title and Description with cpm fetch
Post by: vuud on February 26, 2007, 08:53:09 PM

Depending on which version you are using...

Anyway, the way to do it is in the documentation... you want to look up the option array and subtitles

Title: Re: displaying image Title and Description with cpm fetch
Post by: Rcostello on February 27, 2007, 03:50:46 PM
I'm using version 1.9.9 of CPMFetch.  For some reason I cannot seem to get the title and caption to pull from the database and display with the image.  If anyone could post a snippet of code example it would be greatly appreaciated
Title: Re: displaying image Title and Description with cpm fetch
Post by: vuud on February 27, 2007, 04:33:40 PM
Quote from: Rcostello on February 27, 2007, 03:50:46 PM
I'm using version 1.9.9 of CPMFetch.  For some reason I cannot seem to get the title and caption to pull from the database and display with the image.  If anyone could post a snippet of code example it would be greatly appreaciated

Pls post what you have... its easier to correct someones code than to go looking for examples.

Also, if you have other things wrong, its easier to pick them out.