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: Add a placeholder with functionality to pictures?  (Read 4513 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.019 seconds with 20 queries.