Rebel21
Forum Replies Created
-
Forum: Plugins
In reply to: [Meow Lightbox] Open external picture (not WP media) ?Thanks for your answer.
Standard lightbox don’t display exifs ??
I will continue to use Meow Lightbox.Forum: Developing with WordPress
In reply to: How to install a wp-cli package manualy ?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>"; ?>
Forum: Developing with WordPress
In reply to: How to install a wp-cli package manualy ?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” 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.
Forum: Plugins
In reply to: [Meow Lightbox] How to display title and caption ?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…
Forum: Plugins
In reply to: [Meow Lightbox] How to display title and caption ?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)
Forum: Plugins
In reply to: [Meow Lightbox] How to display title and caption ?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;
Forum: Plugins
In reply to: [Perfect Images] Issue with PHP7Sorry 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.
Forum: Plugins
In reply to: [Perfect Images] Issue with large sizeSeems the bug is back in the 2 last version
Forum: Plugins
In reply to: [Perfect Images] Issue with large sizeResolved in v3.1.0
Forum: Plugins
In reply to: [Perfect Images] Issue with large sizeThanks!
I send you a mail.Forum: Plugins
In reply to: [Perfect Images] Issue with large sizelog 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)Forum: Plugins
In reply to: [ZenphotoPress] ZenphotoPress its not workingI was using HTML editor. It’s fine with visual editor.
Sorry ??And the plug-in work fine !
Forum: Plugins
In reply to: [ZenphotoPress] ZenphotoPress its not workingTested on OSX 10.7.3 with the latest Safari and Firefox 9
on 2 webserver (local test and online)Forum: Plugins
In reply to: [ZenphotoPress] ZenphotoPress its not workingI tried empty browser cache, disable all other wp plugins.
No zenphotopress icon ??Forum: Plugins
In reply to: [ZenphotoPress] ZenphotoPress its not workingI 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