HTML Embed Code Displayed Below Picture

I am looking for a plugin (or snippit of code) that will display a small piece of HTML code that can be copy and pasted to embed the image into another site.
I have found two plugins:
http://www.zenphoto.org/2009/11/generate-bbcode/
and
http://www.zenphoto.org/2010/03/image-markup-generator/

The first one only does BB code.
The second one doesn't work properly.
Does anyone else have any options?

Comments

  • The latter plugin should work. It does have two "problems". The first is not its fault--there is a bug in Zenphoto 1.4x in handling old style plugin options. That will be corrected in tonight's nightly build, but can also easily be corrected in the plugin.

    change line 15 to read:
    `$option_interface = "imageMarkupOptions";`

    The other issue is use of a deprecated PHP function--`split()` on line 60. Change that to `explode()` and all will be well.
  • Thanks for this. I bet that would do it, but I totally rewrote the plugin to exactly fit my needs. Cheers
  • acrylian Administrator, Developer
    Maybe you should then donate it back to our community, might be useful for others as well. See our general contributor guidelines on the user guide if you are interessted.
Sign In or Register to comment.