Hi
Im at the moment making my own viewer for the pictures.
What I like to do is to use the current view.php and continue the development of that one in a sepperate file.
But for doing so I will have to initiate the needed variables, for example initiate objects with what image and everything there is.
In short I copied the code in view.php, and then I tried to just get the picture to show. Sadly I failed, did not put many hours on it but instead I just wounder if there is something I need to do to initiate the object that all the functions fetches its information from.
for example:
show_short_url
and all other functions. Can I initiate the needed values in an easy way?
Im at the moment making my own viewer for the pictures.
What I like to do is to use the current view.php and continue the development of that one in a sepperate file.
But for doing so I will have to initiate the needed variables, for example initiate objects with what image and everything there is.
In short I copied the code in view.php, and then I tried to just get the picture to show. Sadly I failed, did not put many hours on it but instead I just wounder if there is something I need to do to initiate the object that all the functions fetches its information from.
for example:
show_short_url
and all other functions. Can I initiate the needed values in an easy way?