Add a placeholder with functionality to pictures? Add a placeholder with functionality to pictures?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Add a placeholder with functionality to pictures?

Started by bakerman, March 18, 2013, 05:02:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bakerman

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

ΑndrĂ©

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.