forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: bakerman on March 18, 2013, 05:02:29 am

Title: Add a placeholder with functionality to pictures?
Post by: bakerman 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
Title: Re: Add a placeholder with functionality to pictures?
Post by: Αndré 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 (http://documentation.coppermine-gallery.net/en/dev_plugin_hooks.htm#plugin_hooks_filename_file_data) hook.