![]() |
|
Filename for Title - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Filename for Title (/thread-11551.html) |
Filename for Title - weldonassoc - 2013-12-27 I would like to adjust the code so that the filename is added to the image Title upon upload. Can anyone tell me where in the code to change this? Thanks, Chris W Filename for Title - acrylian - 2013-12-27 No, as you would have to modify core files which is for hopefully obvious reasons not recommended. Why do you need this? If it is just for display modiy your theme to display the file name additionally. Filename for Title - weldonassoc - 2013-12-27 I am trying to, but I can't find the function or global variable that will allow me to echo the file name. The theme I am using is "StopDesign". If you could help with that, it would be greatly appreciated. Filename for Title - weldonassoc - 2013-12-27 The closest I have found is $_zp_current_image which carries the image PrimaryKey from the DB. Maybe I can call a function that return the filename from a search of the DB using the images PrimaryKey. Any ideas? Filename for Title - acrylian - 2013-12-27
See also: http://www.zenphoto.org/news/zenphotos-object-model-framework Filename for Title - weldonassoc - 2013-12-27 Perfect. Thanks. |