Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: displaying image Title and Description with cpm fetch  (Read 5097 times)

0 Members and 1 Guest are viewing this topic.

Rcostello

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
displaying image Title and Description with cpm fetch
« 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.
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: displaying image Title and Description with cpm fetch
« Reply #1 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

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Rcostello

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: displaying image Title and Description with cpm fetch
« Reply #2 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
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: displaying image Title and Description with cpm fetch
« Reply #3 on: February 27, 2007, 04:33:40 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.

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.