Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Customize CPMFetch Output  (Read 3268 times)

0 Members and 1 Guest are viewing this topic.

SolidSnake2003

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 79
  • 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: 781
    • 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.036 seconds with 20 queries.