Quantcast
Channel: Zenphoto forum

zpOpenStreetMap() Overview Photomap

$
0
0

How can I create a photomap page with the zpOpenStreetMap() plugin that shows all photos of all albums?


Plugin html_meta_tags canonical URL

$
0
0

The link rel canonical in the html_meta_tags plugin don't work right. In a image page over a search result page is not the album/image URL put in the link rel canonical, but the current URL.
<link rel="canonical" href="https://www.example.com/fotomap/PICT0001.JPG">

zp_openstreetmaps Field of view

$
0
0

How and where can you adjust the field of view of the map? For me, the cluster symbols are displayed with the numbers too much on the edge and the bottom are only half visible. Near copyrights or zoom buttons they are not visible at all.

zpBootstrap Version 2.1, no thumbs in album if using option "Infinite scroll"

$
0
0

Hi,

if I use the option infinite scroll I don't see thumbs in album.
inc_print_image_thumb.php is called in album_infinitescroll.php.
If I remove this line : <?php if (!empty($fullimage)) { ?> from inc_print_image_thumb.php thums are displayed.

This is the solution for me at the moment. Can I let it so?

Thank you

visual thumb selection

$
0
0

The setting "visual thumb selection" don't work by me in Firefox and Chromium.

Setting this option places thumbnails in the album thumbnail selection list (the dropdown list on each album’s edit page). In Firefox the dropdown shows the thumbs, but in IE and Safari only the names are displayed (even if the thumbs are loaded!).

Does that work for you?

In the source code i see the <option class="thumboption" style="background-image: url(/cache/album/subalbum/PICT0001_80_cw80_ch80_thumb.jpg); background-repeat: no-repeat;"

deprecated-functions ?

$
0
0

I have a question to the Plugin: deprecated-functions.

In the Overview page i have clicked the "Check deprecated use" Button.

That was the result:

Locate calls on deprecated functions.
In Themes
album.php

next_album+
next_image+

index.php

next_album+

search.php

next_album+
next_image+

favorites.php

next_album+
next_image+

In User plugins
site_upgrade


next_album and next_image are not marked as deprecated in the docs. ?
Is there a equivalent to next_album and next_image? Or is it a hoax?

Can't get in to admin

$
0
0

Been a while since I've done anything with any of my Zen sites but today I went to sign in to a customers site to make some changes and I'm getting an error. On the sign in page above the form I see the below messages - and it won't let me log in.

Warning: session_start() [function.session-start]: open(/home/content/49/2544849/tmp/sess_3123dodbfbuobqml016fp6k7s7, O_RDWR) failed: No such file or directory (2) in /home/content/49/2544849/html/zp-core/functions-basic.php on line 1565

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/49/2544849/html/zp-core/functions-basic.php:1565) in /home/content/49/2544849/html/zp-core/functions-basic.php on line 1565

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/49/2544849/html/zp-core/functions-basic.php:1565) in /home/content/49/2544849/html/zp-core/functions-basic.php on line 1565

Warning: Cannot modify header information - headers already sent by (output started at /home/content/49/2544849/html/zp-core/functions-basic.php:1565) in /home/content/49/2544849/html/zp-core/functions-common.php on line 502

Warning: Cannot modify header information - headers already sent by (output started at /home/content/49/2544849/html/zp-core/functions-basic.php:1565) in /home/content/49/2544849/html/zp-core/functions-common.php on line 502

Warning: Cannot modify header information - headers already sent by (output started at /home/content/49/2544849/html/zp-core/functions-basic.php:1565) in /home/content/49/2544849/html/zp-core/admin-functions.php on line 104

Warning: Cannot modify header information - headers already sent by (output started at /home/content/49/2544849/html/zp-core/functions-basic.php:1565) in /home/content/49/2544849/html/zp-core/admin-functions.php on line 105

As mentioned I haven't done anything is a while so not sure why these messages are coming up. Don't know version either...

Thoughts?
Thanks,
Mike

how to : hotlink protection

$
0
0

hi
how this option is supposed to work?
it supposed to prevent hotlinking to the full image from other domains but I can't figure what it means.
with that option and protected view option I can access to full image without being redirected to image page.


button CSS in themes

$
0
0

I found this and im not happy.
It's very difficult to style buttons to the default CSS. Every browser have your own default style. There is no "default" CSS rule. "unset", "initial" or "inherit" don't switch to the default back.

/themes/basic/common.css

/* standard buttons */
button:hover,.buttons a:hover {
    text-decoration: none;
    background-color: #dff4ff;
    border: 1px solid #CBCBCB;
    color: #FF8A00;
}

Maybe only one point is missing?
Please never do that again!

Where is the alt text printing located

$
0
0

Hi,
I want to change the alt text location for my thumbnails.
Using printLatestImages() , the alt text is the same as the title but I want to change it, Iooked up a really old thread:

http://forum.zenphoto.org/discussion/1719/changing-alt-text-for-images

I looked through template function but I cannot find where:

alt="<?php echo getImageTitle(); ?>"

is located. The documentation did not help much, anyone know where that line of code is located?

Theme zpmobile animated GIF

$
0
0

Hello everyone,

i need a little help :) , i have a small issue, i need to view gif animated on thumb or list of image. It's work on zentheme and not to mobile theme.

I found my issue on image.php on line 41 :

i change by this with : getFullImageURL()

if (isImagePhoto()) {
?>
image" alt="<?php printBareImageTitle(); ?>" style="max-width:<?php echo getDefaultWidth(); ?>px"/>
<?php

It's work.

But i need this option on list view in album .

In album.php i found this code but it doesn't work.
I change by album.php from zen theme , i have the same issue, i don't think is the right file.

<?php $count = ''; while (next_image()): $count++; switch($count) { case 1: $imgclass = ' ui-block-a'; break; case 2: $imgclass = ' ui-block-b'; break; case 3: $imgclass = ' ui-block-c'; break; case 4: $imgclass = ' ui-block-d'; $count = ''; // reset to start with a again; break; } ?> " href="<?php echo html_encode(getImageURL());?>" title="<?php printBareImageTitle();?>"> <?php printCustomSizedImage(getAnnotatedImageTitle(), NULL,230, 230, 230, 230, NULL, NULL, NULL, NULL, True, NULL); ?> <?php endwhile; ?>

Can you help me please ? :)

Thanks

Renaming "News" with zenpage usage

$
0
0

Which files need to be modified to replace all "News" entries against "Blog/s" in English language.

On the image page, is there a way to have zenphoto display smaller version clickable image?

$
0
0

So, I'm talking about a image page like this:
https://www.goodfreephotos.com/united-states/north-dakota/fargo/us-department-of-agriculture-research-facility-at-north-dakota-state-university.jpg.php

The image display on that page seems to just a a resized version of the full image when you click on the image to display it full screen. That causes the webpage to be too big and causes long loading times, especially on mobile.

Is there a way on the image page to have the clickable image to a smaller version or a much compressed version of the full image when clicked? I still want the full-screen image when click to actually be the full uncompressed image, just not when its displayed on the webpage.

Search results not every time dynamic albums

$
0
0

I found a little problem with me. Since I've already done some mods, I do not know if it's because of it. However, the error occurs even without mods in the search files.

Theme basic

The following: In a search result with albums and photos and multiple result pages, not all images are opened in a stand-alone dynamic search album. Not all, but some. I do not recognize a pattern.
In a search result with 649 albums (46) and pictures (603) some images are displayed in their original album and some in a search dynamic album with a total of 603 images. In this search dynamic album image pages, when navigating prev and next, it happens that some images leave the search dynamic album to the original image album.

It only happens with big search results.

Can someone construct this with himself?
Are the albums the causers listed in the search result?

Apart from that, in my mod, the search result image pages should always be displayed in a dynamic album, only the breadcrumbs should make it possible to leave it.

Album Title - not possible to set

$
0
0

Version 1.4.14.

DOES NOT WORK:
If: Egenskaper/Allmäna/Språk: Only Swedish checked. (Preference Swedish.)
Then: Egenskaper/Galleri/Gallerinamn: Is NOT possible to save.


WORKS:
If: Options/General/Language: Swedish and English is checked. Preference Swedish.
Then: Options/Gallery/Gallery title: IS possible to save.


getSearchWords() don't get the real search string

$
0
0

I have a little problem with display the real search string was write in the search field.

Example:

In the /themes/basic/search.php
var_dump($_POST);

array(1) {
  ["words"]=>
  string(17) "000 "222 111" 333"
}

echo $_REQUEST['words'];

000 "222 111" 333

echo getSearchWords()

"000 222 111 333"

When i edit the function getSearchWords()in the /zp-core/class-search.php it's the same result.

function getSearchWords() {
return $_REQUEST['words'];
}

or

function getSearchWords() {
return $_POST['words'];
}

The real search string should be displayed.
000 "222 111" 333
Who or what removes the quotation marks?

Archive view doesn't work anymore after update MySQLi version to 5.7.21

$
0
0

Hi,

my provider updated the MySQLi to version: 5.7.21. I was informed from ZenPhoto about the detected update and asked to rerun the script and I did it. After that the Archive view doesn't work anymore.
I use zpArdoise for desktop and zpBootstrap for mobile. Both archive view are not working.

Can anybody help me?

If I open Archive view I get a never ending:

Gallery archive

1970
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()
    January ()

.......
.......

I've Forgotten Everything. How To Manage The Installation?

$
0
0

Two years ago I put up some of my youngest child's drawings. (at ghawcroft.com) and that's fine.

Now I want to make changes - get rid of that blank option I've got there, add some more, explore what can be done- and I find I've got no idea how to go about it.

I look in the dir up on my host and see no admin type .exe files to run.

I see no clues. How do I manage the site now?

Will my Photos Be Safe During Reinstalls?

$
0
0

I can't log in to my zenphoto site. Forgot the admin password and any other user names/passwords and have lost all records of them days (two, three years ago).

The only thing to do seems to be a reinstall from my reading today.

Will the photo album directories be safe and get incorporated in a new installation or I should copy them off somewhere?

Can it be reinstalled by running some currently existing within that installation on my host machine?

Or what do I do?

Hanging on install

$
0
0
I am getting a message during install than never completes...

Testing mb_strings

Complete setup screen is:

Welcome to Zenphoto! This page will set up Zenphoto 1.4.13 on your web server.

Systems Check:
Installing Zenphoto v1.4.13
zp-data security [is compromised]
Warning!

Zenphoto suggests you make the sensitive files in the zp-data folder accessable by owner only (permissions = 0600). The file permissions for setup.log are 0644 which may allow unauthorized access.

PHP version 5.6.30
PHP Sessions.
PHP Register Globals
PHP Safe Mode
PHP magic_quotes_gpc
PHP magic_quotes_runtime
PHP magic_quotes_sybase
PHP display_errors
PHP gettext() support [is not present]
Warning!

Localization of Zenphoto requires native PHP gettext() support

PHP flock support
Testing mb_strings.

PHP gettext IS installed.

Stuck in setup

$
0
0

My gallery has been running flawlessly for several years, now all of a sudden it stopped. I don't remember the error, but I decided to install the update. Now I am stuck on the setup page with this error:

Welcome to Zenphoto! This page will set up Zenphoto 1.4.14 on your web server.

Systems Check:
Installing Zenphoto v1.4.13
zp-data security
PHP version 5.6.34
PHP Sessions.
PHP Register Globals
PHP Safe Mode
PHP magic_quotes_gpc
PHP magic_quotes_runtime
PHP magic_quotes_sybase
PHP display_errors
PHP gettext() support [is not present]
Warning!

Localization of Zenphoto requires native PHP gettext() support

PHP flock support
Testing mb_strings.

Any help is appreciated.

A ZP Community

$
0
0

[Malte, sending you best wishes to you and your family at this difficult time.]

Zenphoto is my favorite server-side photo software, and it is the core of a photo sharing site with my family and friends. Can anyone recommend tweaks and plugs to make it more of a community? Right now, users can

  1. see each other's uploads by albums and
  2. comment on photos. It would be great if users could login once and interact with each other more on our Zenphoto site, such as with forums or a Buddypress linkup.

Have you had luck with integration of forums, Wordpress' Buddypress, or any other socializing feature? Many thanks.


How to to decrease the resource usage

$
0
0

Hi,
Yesterday I got my Semi-dedicated (SDX) server blocked my zenphoto scripts.
The reason why was (according to them) ...
running various CPU intensive php scripts which are causing very high load on the server and due to which server is going under very high load. Please have a look at the follow details about your php scripts running in parallel.
%CPU 104 - /opt/cpanel/ea-php56/root/usr/bin/php-cgi /home/xxxxxxx/public_html/gallery/index.php
After many discussion, they told me ... to check and optimize the code to decrease the resource usage
I never experienced that kind of problem before.
Is there a way to do that in the zenphoto script ?
I am running the latest version of the script.
It was probably a one shot event that triggered the server to block the php script, but they were not smart enough to unblock it later on to see if the problem is gone!
Thanks for your input

jQuery uploader error help

$
0
0
Here is the error:
DSC05812.JPG 143.38 KB Error: SyntaxError: JSON.parse: unexpected character

I am using the RC3 for 1.4.2

PHP 5.2.17
Mysql 5.0.77

This happens with the jquery uploader only
the flash and http work fine

Not sure if this is functioning yet or not or if there is a fix, but thought I would check since this is my preferred method of uploading.

Thanks

Replace jplayer buttons by standard html5 player

$
0
0

Hello,

Can I replace the jplayer buttons by the standard bar we get when playing mp4 videos ?
Why ? because when playing full screen, I get no controls, and when activating controls, I get those from the standard html5 player.

Thanks in advance.

Manual Sorting Not Working

$
0
0

Hi Folks-

Sorting albums manually seems to not work in my 1.4.14 install. I drag an album to desired position, hit apply, and it's back where it started. Anyone run across this behavior? Best practice to debug this?

Thanks
Karl

Change password

$
0
0

Hello guys here,
How can I change the password of a user from the backend ?
Thanks for your time,

Unicode characters in description

$
0
0

Hi there,

First pardon me if the solution to this has already been mentioned somewhere, I was unable to find it.

I've noticed that I can't have unicode characters in the description of my images or albums, if I do then the description disappears. This is while I can use unicode characters in other places, such as tags for instance. Is there a way to repair this?

Cheers!

Using defaultCodeblocks

$
0
0

Hello,

There is one option I do not use right now : defaultCodeblocks
I searched zenphoto.org, and did not find useful information about this feature.

Can someone explain me the use of these codeblocks. Could I get an example of valid code ?

Thanks in advance.


Maximum number of images and galleries per user

$
0
0

Hello to the community!
Searching in admin area of a freshly installed Zenphoto, I have not seen how to limit the number of images that a user can upload and have in your personal album.

The need is to have (or permit to set) only 1 album per user with a max of 10 images per user in that album.
Is that possible?

Thanks in advance to all,
David





Latest Images