Member
Member
Celcius   2011-01-26, 22:56
#1

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?

Member
Member
sbillard   2011-01-27, 01:38
#2

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.

Member
Member
Celcius   2011-01-27, 01:55
#3

Thanks for this. I bet that would do it, but I totally rewrote the plugin to exactly fit my needs. Cheers

Administrator
Administrator
acrylian   2011-01-27, 11:01
#4

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.