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: Customize CPMFetch Output  (Read 10425 times)

0 Members and 1 Guest are viewing this topic.

SolidSnake2003

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 82
  • Solid Snake/Joshua Harris Fan
    • Legacy Designs
Customize CPMFetch Output
« on: January 25, 2016, 01:34:52 pm »

Is there a way to customize the output of CPMFetch?  I am adding an overlay similar to how Im doing it for the gallery itself

the code looks something like this:

Code: [Select]
<a href="http://www.blalbla.com"><span class="overlay"></span><img src="http://www.blabla.com/albums/name/name2/thumb_blabla.jpg" /></a>
http://www.solidsnakelegacy.net/gallery
Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: Customize CPMFetch Output
« Reply #1 on: January 26, 2016, 12:53:28 am »

How are you invoking CPMFETCH? (there are muliple ways - via <IMG> tag or from php script... sample code would be helpful)
I would think you could easily add your <span> tags around the call - or are you trying to do more than that?

Your gallery is offline - so I can't see examples there.
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.