Member
Member
ctdlg   2022-06-05, 07:28
#1

Hello,

I would like to add image titles above each thumb using bxslider_thumb_nav extension.

I can add the file name using
$imgobj->getFileName();
exemple

but using
$imgobj->getImageTitle();
does not work.
exemple

getImageTitle() is located at template-functions.php - maybe the reason why this function is not available with bxslider extension.

Administrator
Administrator
fretzl   2022-06-05, 07:40
#2

Use $imgobj->getTitle() or just getImageTitle()

Administrator
Administrator
acrylian   2022-06-05, 10:04
#3

It's by the way explainded as an example here:
https://www.zenphoto.org/news/zenphotos-object-model-framework/

You can always consult the documentation here:
https://docs.zenphoto.org/1.5.x/class-Image.html

And note about class inheritance of parent classes.

Member
Member
ctdlg   2022-06-05, 14:46
#4

Thank you for your help, it is OK now :

Alt text

I will print your documentation (your links) for reference !

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