kwchanas
Forum Replies Created
-
Hi @jamzth
I cannot submit a ticket at http://enviragallery.com/contact because the user with the envira gallery login ID has taken a one-week leave.
Can you help me in this support case?
Thanks!
Or how can I change the image URL to media file automatically?
I know I can open the Edit Metadata popup window. Modify the image URL to media file for each image and select the Save Metadata button for each image I edit to save those changes.
However, I don’t want to change image URL manually.
Thanks
Please let me know if your team have any suggestion.
ThanksHi @jamzth
I do not see plugin update notifications about new versions.
Do I need to update manually?And one thing I would like to share:
I received the following error message when I enable debugging mode in WordPress:
Envira: Error occured resizing image (these messages are only displayed to logged in WordPress users):
Error: No file could be found for the image URL specified.
Image: array (
0 => ‘https://domainName.com/gallery/https://cdn.domainName.com/wp-content/uploads/sites/3/2017/09/Jellyfish.jpg’,
1 => 1024,
2 => 768,
3 => false,
)
Args: array (
‘position’ => ‘c’,
‘width’ => 75,
‘height’ => 50,
‘quality’ => 100,
‘retina’ => true,
)I fount that in envira-gallery\includes\admin\metaboxes.php line 2503
if ( strpos( $image[0], site_url() ) === false ) {
$image[0] = site_url() . ‘/’ . $image[0];
}This can never true if my video / image has the CDN URL.
Hi @akyusa01
Thanks for your reply!
As I said before, we can add videos to Envira Gallery in two ways:
1. Insert from Other Sources
2. Specifying a Video URL for an Existing Imageand it seems that your suggestion is the method 2.
Yes, that video can play in the lightbox in method 2.So, does it mean I can’t use method 1 to upload local video if I use S3 bucket?
Hi @akyusa01
We upload our files to Amazon S3, and we set up a CDN to copy the contents of our S3 bucket everywhere we need.
Therefore, when I click Insert from Other Sources and upload the mp4 there in the Media Library tab, the local URL of the video will be changed to something like this:
[video src="https://cdn.domainName.com/wp-content/uploads/sites/3/2017/10/small.mp4" /]However, when I copy the URL to the video and place it in the URL field.
It displays short text messages:
Video #1 Image Error:cURL error 51:SSL:no alternative certificate subject name matches target host name ‘cdn.domainNmae.com’And in the HELPFUL TIPS column, I found that I can only use the local URLs like
[video src="http://domainName.com/gallery/path/to/video.mp4" /]How can I upload the video with the CDN URL?
Thanks
Hi @akyusa01
Please let me know if you have any suggestion.
Hi @akyusa01
I am using the premium version.
Hi @akyusa01
I changed the priority of the action before, but it can’t resolve the problem.
add_action(‘publish_envira’, ‘publishGallery’, 500);And now, I call the save_meta_boxes function in my program, and the issue has been resolved now!
include_once( ABSPATH . ‘wp-content/plugins/envira-gallery/includes/admin/metaboxes.php’ );
$plugin = new Envira_Gallery_Metaboxes;
$plugin->save_meta_boxes($ID, $post);