Member
Member
Gonepteryx   2015-01-20, 18:46
#1

Hello

In my customized theme (based on ZPBootstrap) I want to show date, city, location, state and country inline beyond the image. I added the following code in image.php:

`

`
This works fine until I manually change the image data in backend, for example, add a description. Then the metadata location, city, state and country are not shown anymore; only description and date remain. This is the case for the changed image itself as for the following 9 images. This number corresponds with the number of images shown per page in backend. The metadata still remain in backend and in IPTC-Data, but are not shown at frontend.

Here two examples:
1: image-page as it should be: http://zentest.hueser.ch/pflanzen/orchideen/P1090147.jpg.php
2: image-page after adding description: http://zentest.hueser.ch/pflanzen/orchideen/P1130716.jpg.php

Is this by design (you should not change metadata which come from IPCT/Exif) or did I put wrong code or is it a bug?

Btw: I tried the same code in standard Zenpage theme with the same result.

Thanks for your help!

Gonepteryx

Administrator
Administrator
fretzl   2015-01-20, 19:11
#2

I believe that was a bug that is fixed in the meantime.
Please try the Support build

Administrator
Administrator
acrylian   2015-01-20, 19:34
#3

fretzl is right, I fear. Btw, those fields are actually "standard custom fields" as they are not used for metadata meaing EXIF/IPTC embedded in the images itself.

Member
Member
Gonepteryx   2015-01-20, 21:07
#4

Great, the problem is solved with the support build, many thanks to fretzl and acrylian!

But now the startpage / homepage needs more than 20 seconds to open, tried with zenpage and standard theme. First time I opened the start site, I got the following error:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/hueserc/www/zentest/zp-core/functions.php on line 1146

Not important in my case, as this is my trial gallery. But maybe it's a hint for the developers.

Thanks for all your great work, I'm very happy with Zenphoto :-)

Administrator
Administrator
acrylian   2015-01-20, 21:48
#5

Thanks, that always helps. We would appreciate if you could do some testing the next days when we hopefully improve this.

Member
Member
Gonepteryx   2015-01-20, 22:10
#6

yes, that's ok, I will try to remember...

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