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: Add a placeholder with functionality to pictures?  (Read 4514 times)

0 Members and 1 Guest are viewing this topic.

bakerman

  • 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?

ADFTPA
Logged

Αndré

  • 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.