Rimi Posted August 31, 2012 Share Posted August 31, 2012 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. Link to comment Share on other sites More sharing options...
bfarber Posted August 31, 2012 Share Posted August 31, 2012 Yes, this is on my todo list. Link to comment Share on other sites More sharing options...
Rimi Posted August 31, 2012 Author Share Posted August 31, 2012 Yes, this is on my todo list.Nice. Can't wait. :) Link to comment Share on other sites More sharing options...
bfarber Posted August 31, 2012 Share Posted August 31, 2012 http://community.invisionpower.com/resources/documentation/index.html/_/developer-resources/api-methods/ipgallery-helper-classes-images-r801 Link to comment Share on other sites More sharing options...
Rimi Posted August 31, 2012 Author Share Posted August 31, 2012 Yup this is the information I was looking for in regards to fetchImages and makeImageTag. Perfect. Thank you. Link to comment Share on other sites More sharing options...
bfarber Posted September 3, 2012 Share Posted September 3, 2012 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. Link to comment Share on other sites More sharing options...
Michael R Posted September 3, 2012 Share Posted September 3, 2012 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. Link to comment Share on other sites More sharing options...
Clover13 Posted April 24, 2013 Share Posted April 24, 2013 Link above from bfarber is dead. Looking for documentation on the usage of Gallery functions like makeImageTag Link to comment Share on other sites More sharing options...
bfarber Posted April 25, 2013 Share Posted April 25, 2013 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 Link to comment Share on other sites More sharing options...
Clover13 Posted April 25, 2013 Share Posted April 25, 2013 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. Link to comment Share on other sites More sharing options...
bfarber Posted April 26, 2013 Share Posted April 26, 2013 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> Link to comment Share on other sites More sharing options...
Clover13 Posted April 26, 2013 Share Posted April 26, 2013 Got ya, thanks Brandon! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.