Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Add a placeholder with functionality to pictures?  (Read 4667 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Add a placeholder with functionality to pictures?
« on: March 18, 2013, 05:02:29 am »

Hi everyone.

I am working on a new plugin - which is a sort of e-commerce plugin for cpg 1.5.x
I do have a bit of a problem finding the place where the actual code for pictures are created.

I want to create a div around the picture, and add a few buttons / code below each picture, both on the normal view and enlarged view.

Can anyone point me to where this code is generated?



  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Add a placeholder with functionality to pictures?
« Reply #1 on: March 19, 2013, 01:44:42 pm »

As you're creating a plugin, it doesn't matter where the actual HTML output is created, but which plugin hooks you can use. I suggest to have a look at the file_data hook.
Pages: [1]   Go Up

Page created in 0.02 seconds with 19 queries.