![]() |
|
simple question re slideshow - 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: simple question re slideshow (/thread-11585.html) |
simple question re slideshow - bobmiers - 2014-01-17 New to ZenPhoto, looks like a great program with lots of effort & time already expended. A question that I've not seen answered: are there any themes that show the Desc/comment/caption for the images when being shown in a slide show? Thanks, simple question re slideshow - acrylian - 2014-01-17 Description and caption (=title) are supported by the slideshow if enabled. It has however a fixed layout you can change a bit using CSS. For real custom layouts you have to build your own slideshow. The slideshow plugin currently uses this script: http://jquery.malsup.com/cycle/ Even easier is the successor Cycle2 (plugin based on that in the works). I don't remember offhand if third party themes have custom slideshows and if how they look. We don't have that much current themes so I suggest to try some. simple question re slideshow - bobmiers - 2014-01-17 acrylian: Thanks, Bob Miers simple question re slideshow - acrylian - 2014-01-17 The slideshow is a plugin and therefore basically theme independent except the slideshow page required and unless you add extra css for styling. It has two modes the cycle slideshow and the colorbox overlay slideshow. The 2nd does only show titles as the colorbox does not support more (cycle and colorbox are just scripts by others we use). Best is you try it. Our site does not use it itself but here is a demo of the standard cycle slideshow: http://zenphoto.maltem.de/album2/Cosmos05.jpg.html (click on the link below). Thoes images do not have descriptions but otherwise they would be below the image. simple question re slideshow - bobmiers - 2014-01-19 A FYI... on the Extension tab (list #2)of the site the entry for gSlideshow March 7 2013 Info/download(external) button returns a 404 page error. simple question re slideshow - acrylian - 2014-01-19 Yep, the developer has reworked his website and it is currently not available for download anyway. simple question re slideshow - bobmiers - 2014-01-21 acrylian: 1 – I am using the latest version of XAMPP (installed with all defaults) and the current version of ZenPhoto. I spent a bit of time getting the Zen setup to run. I kept getting errors at the MySQL database setup. I was using “Localhost” as the server in the database setup area. As a workaround, I manually setup the database using XAMPP.Later, I wanted to make sure that everything was correct so I went deleted the XAMPP install and started over. I was still having the same problem creating the data base. Just by chance I substituted “127.1.1.0” for the server address and the setup completed correctly. I’m not absolutely sure that this is repeatable. I’ll try again in a few days and let you know. 2 – I’m still learning ZenPhoto, so bear with me. I copied the code from the User Guide (http://www.zenphoto.org/news/integration-with-existing-sites-and-other-cms) and created a standalone *.php file. I then made sure that my php/ZenPhoto structure was the same as outlined in the comments.I added a couple of php variable to look at the SERVERPATH and WEBPATH values. They appeared to me to be correct. Then I used phpDesigner8 to single step through the code. Passing through several includes everything seemed OK until I get to the first three lines of global-definations.php i.e. simple question re slideshow - acrylian - 2014-01-21 1: Zenphoto technically could create a database on setup but most servers/hosts don't allow it. So you have to create the database first as noted here: http://www.zenphoto.org/news/installation-and-upgradingWhat you need to enter as the db name and database host depends on the host used. On XAMPP probably that is indeed "localhost". I don't know XAMPP directly as I am on Mac using MAMP. 2: $_SERVER[‘HTTP_HOST’] is defined by the server itself. It is a so called "super global" variable: http://php.net/manual/de/reserved.variables.server.php.I haven't tried that "plugin way" for quite some time (in "real life" I never used it at all). It for sure does not work with some CMS as noted. Btw, I don't know phpDesigner8 and what it does. simple question re slideshow - sbillard - 2014-01-22 1: Zenphoto WILL setup the database if the database permissions allow that. But as acrylian said, almost no hosting site allows that. As to if you installation does, you will have to check that out.1 & #2: Unfortunately if you are going to "do it yourself" you will have to learn the ropes. I have never tired XAMP, but WAMP certainly sets the $_SERVER['HTTP_HOST'] up to point to the server's host URL.simple question re slideshow - bobmiers - 2014-01-22 Thanks fellows. This example will show a pre-defined image. Really, almost any theme related actions could be done here. Visit the actual gallery from which this image was extracted. Interesting: when I click on the "Visit the actual gallery" line I am redirected to the proper album and I can see the images therein. My ultimate goal is to replace an Adobe Flash (since Adobe has chosen to no longer support Flash on Android devices) file that displays the photos & caption text for this site. The flash file is currently being created by the site owner (who is not a programer) using a program called CoffeeCup Photo Gallery. Thanks again for bearing with me. simple question re slideshow - acrylian - 2014-01-22 Yes, Flash is out now as not only Android but also the popular iOS devices don't support it. Other than for animations you don't need it as we have HTML5 now (well, we need flash fallback for some older browser). So you IMHO don't need to call anything via AJAX. Use a web capable player like mediaelement or jplayer (ZP has plugins for both, on official and one half official). If phpDesign8 is an IDE it is probably not its built PHP that runs on your local server. We use Netbeans plus virtual servers like WAMP or in my case MAMP. At least for me it works out of the box. simple question re slideshow - sbillard - 2014-01-22
I'm not sure I am following this conversation. Is this error only happening when you try to load the image from your "plugin" code? Anyway, one thing to do is look at the HTML for the ``. See if you can use that link directly in the browser address bar. Is the link an "i.php?...." link? simple question re slideshow - bobmiers - 2014-01-23 Thanks again fellows: USER NOTICE: Bad album object parameter to newImage(210_saguaro.jpg) in C:\xampp\htdocs\WoodmereAssociates05\zenphoto\zp-core\class-image.php on line 44 trigger_error called from newImage (class-image.php [44]) from embedIntoWEBpage.php [40] Went to the class-image.php code and looked...it appears that if (!$quiet) was executed.... Bob Miers 4ia simple question re slideshow - bobmiers - 2014-01-23 FYI, all of the images have been uploaded to database using the HTML upload as supplied with ZenPhoto. simple question re slideshow - acrylian - 2014-01-23 You should never delete an image in the database. Zenphoto is file system based os actually deleting the image within the album within Probably now your embed script is calling an image that is not there anymore. simple question re slideshow - bobmiers - 2014-01-23 I misspoke. I removed the image using ZenPhoto/admin/albums/WAR (my album title)/images/ put a check mark in the bulk action for that image 0NLY and then did the bulk action. I now have done the refresh as you suggested. Reran the php code again and checked the album once again. There were 2 images there as there should be. Anyway here is the error log: USER NOTICE: Bad album object parameter to newImage(210_saguaro.jpg) in C:\xampp\htdocs\WoodmereAssociates05\zenphoto\zp-core\class-image.php on line 44 trigger_error called from newImage (class-image.php [44]) from embedIntoWEBpage.php [40] Would you suggest that I reinstall XAMPP and ZenPhoto to get a fresh start? Bob Miers simple question re slideshow - sbillard - 2014-01-23 The error, whatever the cause is in your script The error says that what you passed as the album was not an album object, so the source of the error will most likely be where you instantiated that album object. |