Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 31, 201212 yr Hello. Can we get documentation for the gallery_image class in a similar manner to how IPSMember and ccsFunctions is done? I'm getting better at this so I can figure out a lot on my own, but I'd still like to see explanations on functions like makeImageTag, makeImageLink, fetchImages. For example in makeImageTag what are the available choices for the thumbClass option? That kind of thing.
August 31, 201212 yr http://community.invisionpower.com/resources/documentation/index.html/_/developer-resources/api-methods/ipgallery-helper-classes-images-r801
August 31, 201212 yr Author Yup this is the information I was looking for in regards to fetchImages and makeImageTag. Perfect. Thank you.
September 3, 201212 yr YW. I'd like to flesh it out with more examples, and there are several other classes to document, but the albums and images classes are done, and probably the most necessary.
September 3, 201212 yr More examples would be helpful. With all the issues I am having with the Gallery, I am wondering if there is a better way to structure it -- for instance; Albums versus Categories.
April 24, 201311 yr Link above from bfarber is dead. Looking for documentation on the usage of Gallery functions like makeImageTag
April 25, 201311 yr It's been moved to the main website since this topic was posted. http://www.invisionpower.com/support/guides/_/advanced-and-developers/api-methods/ipgallery-helper-classes-albums-r230 http://www.invisionpower.com/support/guides/_/advanced-and-developers/api-methods/ipgallery-helper-classes-images-r232
April 25, 201311 yr Brandon, Just a quick question regarding the docs. I see the documentation for the helper classes, but when I see an "object" passed as an attribute into a given template, how do I know what is available within it. For example I was editing the sharedmedia bbcode and it currently has something like $image['thumb']. How do I know what other arguments/keys are in the $image array? Is that documented anywhere (defaults in the IPB build, as I'd imagine these objects can be custom as well). What I'm really trying to figure out is how to do that same kind of default lightbox popup to a gallery image but with a larger size in the topic/post preview.
April 26, 201311 yr If I were attempting to figure out what data was available in the skin template, I would add this to the skin template: <php>var_dump($variable);</php>
Archived
This topic is now archived and is closed to further replies.