Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter Rebel21

    (@rebel21)

    Thanks for your answer.
    Standard lightbox don’t display exifs ??
    I will continue to use Meow Lightbox.

    Thread Starter Rebel21

    (@rebel21)

    Have you considered downloading the packages you want to your PC or Mac and then using file management tools to transfer those packages to your host?

    I don’t know where and what upload ??

    I finally succeeded with a php script instaLL_package.php:

    
    <?php
    
    putenv('PATH=/usr/local/php7.1/bin:/homez.65/domain/.wp-cli:/homez.65/domain/opt/bin:/usr/local/bin:/usr/bin:/bin');
    putenv('COMPOSER_HOME=/homez.65/domain/opt/bin/composer');
    putenv('WP_CLI_PACKAGES_DIR=/homez.65/domain/.wp-cli/packages');
    
    $install = shell_exec('wp package install trepmal/wp-revisions-cli 2>&1');
    echo "<pre>$install</pre>";
    ?>
    
    Thread Starter Rebel21

    (@rebel21)

    Thanks for your answer Jan.

    The problem is that I can’t download with ssh:

    Error: The “https://wp-cli.org/package-index/packages.json&#8221; file could not be downloaded: failed to open stream: Connection refused

    I was hoping I could upload some php files in ~/.wp-cli/packages

    • This reply was modified 6 years, 6 months ago by Rebel21.
    Thread Starter Rebel21

    (@rebel21)

    Great update !

    Good size for prev/next buttons, title and caption are fine displayed ans I really like the exif info.

    Does the box work with non-wordpress media ?
    I tried with picture hosted on my Flickr gallery, the box doesn’t pop-up.

    Continue the great work…

    Thread Starter Rebel21

    (@rebel21)

    Another way:

    $img = wp_prepare_attachment_for_js($id);
    $caption =  $img['caption']; // Display Caption (Légende)
    $description = $img['description']; // Display Description (Description)
    $alt_text = $img['alt']; // Display Alternative text (Texte alternatif)
    Thread Starter Rebel21

    (@rebel21)

    Thanks for your answer Thomas,

    Finally I use this (in mwl_run.php)to get datas from media:

    $alt_text = get_post_meta( $id, '_wp_attachment_image_alt', true ); // Display Alternative text (Texte alternatif)
    $a = get_post($id);
    $caption =  $a->post_excerpt; // Display Caption (Légende)
    $description = $a->post_content; // Display Description (Description)

    and

    'title' => empty( $meta['image_meta']['title'] ) ? $alt_text : $meta['image_meta']['title'],
    'caption' => empty( $meta['image_meta']['caption'] ) ? $caption : $meta['image_meta']['caption'],

    for the prev/next button, it’s here:

    .mwl-container.photography .mwl-content .control-nav {
      font-size: 40px;
    Thread Starter Rebel21

    (@rebel21)

    Sorry for the late response.
    I have two hosts:
    -one with PHP 7.0, WP Retina don’t work
    -one with PHP 7.05, WP retina is fine.
    Maybe PHP don’t have same config.

    I have transferred the website to the second host.

    Thread Starter Rebel21

    (@rebel21)

    Seems the bug is back in the 2 last version

    Thread Starter Rebel21

    (@rebel21)

    Resolved in v3.1.0

    Thread Starter Rebel21

    (@rebel21)

    Thanks!
    I send you a mail.

    Thread Starter Rebel21

    (@rebel21)

    log file:

    2014-12-18 09:49:12: ** RETINA INFO FOR ATTACHMENT '2014/12/2014-11-02_Bouquetin_1615.jpg' **
    2014-12-18 09:49:12: - Original: 2014-11-02_Bouquetin_1615.jpg
    2014-12-18 09:49:12: - thumbnail: /homepages/26/d/htdocs/wordpress/wp-content/uploads/2014/12/2014-11-02_Bouquetin_1615-200x133.jpg -> /homepages/26/d141288324/htdocs/wordpress/wp-content/uploads/2014/12/[email protected] => RESIZE
    2014-12-18 09:49:13: - medium: /homepages/26/d/htdocs/wordpress/wp-content/uploads/2014/12/2014-11-02_Bouquetin_1615-610x406.jpg -> /homepages/26/d141288324/htdocs/wordpress/wp-content/uploads/2014/12/[email protected] => RESIZE
    2014-12-18 09:49:13: - large: /homepages/26/d/htdocs/wordpress/wp-content/uploads/2014/12/2014-11-02_Bouquetin_1615.jpg -> /homepages/26/d141288324/htdocs/wordpress/wp-content/uploads/2014/12/[email protected] => COPY
    2014-12-18 09:49:13: - large: /homepages/26/d/htdocs/wordpress/wp-content/uploads/2014/12/2014-11-02_Bouquetin_1615-800x533.jpg -> /homepages/26/d141288324/htdocs/wordpress/wp-content/uploads/2014/12/[email protected] => RESIZE
    2014-12-18 09:49:13: - wptouch-new-thumbnail => IGNORED
    2014-12-18 09:49:13: - post-thumbnail => IGNORED
    2014-12-18 09:49:13: - foundation-featured-image => IGNORED
    2014-12-18 09:49:16: ** RETINA INFO FOR ATTACHMENT '2014/12/2014-11-02_Bouquetin_1597.jpg' **
    2014-12-18 09:49:16: - Original: 2014-11-02_Bouquetin_1597.jpg
    2014-12-18 09:49:16: - thumbnail: /homepages/26/d/htdocs/wordpress/wp-content/uploads/2014/12/2014-11-02_Bouquetin_1597-200x133.jpg -> /homepages/26/d141288324/htdocs/wordpress/wp-content/uploads/2014/12/[email protected] => RESIZE
    2014-12-18 09:49:17: - medium: /homepages/26/d/htdocs/wordpress/wp-content/uploads/2014/12/2014-11-02_Bouquetin_1597-610x406.jpg -> /homepages/26/d141288324/htdocs/wordpress/wp-content/uploads/2014/12/[email protected] => RESIZE

    2014-11-02_Bouquetin_1615.jpg (1600×1066 px)
    2014-11-02_Bouquetin_1597.jpg (1600×1067 px)

    Rebel21

    (@rebel21)

    I was using HTML editor. It’s fine with visual editor.
    Sorry ??

    And the plug-in work fine !

    Rebel21

    (@rebel21)

    Tested on OSX 10.7.3 with the latest Safari and Firefox 9
    on 2 webserver (local test and online)

    Rebel21

    (@rebel21)

    I tried empty browser cache, disable all other wp plugins.
    No zenphotopress icon ??

    I have another issue with the last versions
    The zenphotopress icon is no more displayed in the add/modify article wordpress toolbar
    Wp 3.3.1
    Zp 1.4.2
    Zpp 1.7.5.1

Viewing 15 replies - 1 through 15 (of 16 total)