CyberPK
Forum Replies Created
-
Sorry, you must have knowledge of sql, and know how a database work, MySql in this case.
Try to find a friend you trust in to follow my instructions. This may require you share with him your database password.
Good luckSolved: I have to manually edit through phpmyadmin the row containing the my gallery in wp_ngg_gallery.
For some reason is created a bad the slug, and the gallery loops by itself! A valid one can just be copied from the name column and the gallery will start to work again. Slug can be anything, but a valid one. Just make it the same of the name column and it will be good.Same problem here.
I think it’s related to the management of the spaces in the gallery name, because I’ve noted a different naming convention.Please, it isn’t resolved at all!
Please revert this commit: https://bitbucket.org/photocrati/nextgen-gallery/commits/4877c06
DO IT! I JUST FOUND THE BUG FOR YOU! SIMPLY REVERT THIS COMMIT AND MAKE IT WORK!!!
exif_array is the filtered exif data and it’s setup only at the end of the function!
Came on… I’m really tired to patch the file at every update as in the last year…Angelo, se hai ancora problemi scrivi pure qua che cerco di darti una mano e ti spiego cosa fare, perché questi qua non ne hanno intenzione di sistemare. Sono 8 mesi che ad ogni aggiornamento devo applicare questa patch, altrimenti i dati exif non li carica.
Sorry to say the bug is still present today and prevent the metadata (like date taken) to be correcly loaded.
I’ve to manually edit the plugin at every update to solve the problem. Please add my fix in the next release.Thank you.
Pretty lame answer… It isn’t the host: before the july update I had no problem.
Study the html5 before answering so bad. Maybe using only the w3c validator (https://validator.w3.org) can help you recognize your mistake: “Characters should be represented in NFC and spaces should be escaped as %20.”.Copy my patch and send it to production!
Same problem here.
The galleries doesn’t work either in Firefox and Chrome.
Cleaned the cache. No difference.
On Chrome I receive this error if I switch on debug mode: “Failed parsing ‘srcset’ attribute value since it has an unknown descriptor”** Edit **
My solution is to modify the line 189 of nextgen-gallery-pro/modules/nextgen_picturefill/module.picturefill.php as follow:
$attrs[‘srcset’] = str_replace(” “, “%20”, implode(“, “, $srcsets));
It appear that srcset doesn’t work good with spaces…Forum: Themes and Templates
In reply to: [Hueman] Can't set the video in Video Format PostProblem solved using the “full” version from the website and not from wp
I’m looking to the code.
1) the image_date have yyyy-mm-dd hh:mm:ss format but the imported “created_timestamp” is set to get_option(‘date_format’) . ‘ ‘ . get_option(‘time_format’) by get_EXIF() in meta.php
So in a default wordpress installation the reported crated_timestamp has the time trunked without seconds. ex. this return me in Italian “18 febbraio 2015 2:09”2) The string doesn’t get converted to a valid datetime and
$date = @strtotime($this->exif_array[‘created_timestamp’]);
fails. return false because of the localized i18n datetime string returned above.Now that I think to have found the bug, please fix it in the next release ??
My problem were solved changing the code on get_EXIF() in meta.php FROM
if (!empty($exif[‘DateTimeDigitized’]))
$meta[‘created_timestamp’] = date_i18n(get_option(‘date_format’) . ‘ ‘ . get_option(‘time_format’), $this->exif_date2ts($exif[‘DateTimeDigitized’]));
else if (!empty($exif[‘DateTimeOriginal’]))
$meta[‘created_timestamp’] = date_i18n(get_option(‘date_format’) . ‘ ‘ . get_option(‘time_format’), $this->exif_date2ts($exif[‘DateTimeOriginal’]));
else if (!empty($exif[‘FileDateTime’]))
$meta[‘created_timestamp’] = date_i18n(get_option(‘date_format’) . ‘ ‘ . get_option(‘time_format’), $this->exif_date2ts($exif[‘FileDateTime’]));TO
if (!empty($exif[‘DateTimeDigitized’]))
$meta[‘created_timestamp’] = $exif[‘DateTimeDigitized’];
else if (!empty($exif[‘DateTimeOriginal’]))
$meta[‘created_timestamp’] = $exif[‘DateTimeOriginal’];
else if (!empty($exif[‘FileDateTime’]))
$meta[‘created_timestamp’] = $exif[‘FileDateTime’];
P.S.
Looking further to the code, i’ve noticed that the right function to call may be C_NextGen_Metadata.get_date_time() in package.module.nextgen_data.phpForum: Themes and Templates
In reply to: [Hueman] pullquote tag not working :(Thank you very much! I didn’t read that note. My fault.
Forum: Themes and Templates
In reply to: [Hueman] Can't set the video in Video Format PostThe problem is that doesn’t appear the textbox where insert the video link
Forum: Themes and Templates
In reply to: [Hueman] pullquote tag not working :(wp.org updated to last version.
I’ve created a child theme but the problem appear also using the main themeNo, i don’t use resizing. I upload the images on a folder in the gallery folder then import without changing location.
In past seemed to work correctly. Maybe the migration from windows hosting to linux hosting done some days ago?The date/time used by ngg to sort appear to be the upload or the last modify date, not the exif date/time that i can see looking at meta from ngg in the image gallery list page.
If I update the metadata the datetime of files showed on the gallery image list change to now.