Forum Replies Created

Viewing 15 replies - 1 through 15 (of 46 total)
  • Plugin Author pablo2

    (@pablo2)

    Dear All,

    I started working on an update but it’s quite a lot of work unfortunately, so please be patient.

    Plugin Author pablo2

    (@pablo2)

    Hi Arnoud,

    Thank you for bringing my attention to this. I will try to update the code. Fortunately, there is still some time to do it.

    Best regards

    Plugin Author pablo2

    (@pablo2)

    Hi Jasper,

    Well-spotted difference and I found the reason and the solution.

    In one of the NextGEN gallery files I found this comment:

    // This next bit is annoying but necessary for legacy reasons. NextGEN until 3.19 stored thumbnails with a filename of “thumbs_(whatever.jpg)” which Google indexes as “thumbswhatever.jpg” which is not good for SEO. From 3.19 on the default setting is “thumbs-” but we must account for legacy sites.

    Fortunetly, they added an option in the settings to change it back to _.

    Please go to NextGEN Gallery > Other Options > MISCELLANEOUS > Use dashes instead of underscores when generating new image files > Change to NO.

    Please read the info when you hover above the option text. They are saying to use “Clear image cache” option after changing. Maybe thumbs will need to be recreated.

    I will add a fix also to my plugin to recognise which one to use but I don’t know how long it will take me. Maybe I will find some time over the weekend but maybe 2-3 weeks longer. When I will finish my plugin should choose a correct symbol regardless of this setting.

    Best reagrds,

    Pawel

    Plugin Author pablo2

    (@pablo2)

    Hi Jasper,

    I’m not sure what is causing this but I will try to help. There are online some web pages which you can check. Like this one: How to Fix ‘Failed To Load Resource’ Error in WordPress (wpbeginner.com)

    I suggest first checking if the thumb files physically exist at the location pointed in the in the console error using any FTP clinet or one in your cPanel. i.e. your_web_page_directory/wp-content/gallery/test2/thumbs/thumbs_IMG_4438-scaled.jpg

    If they are there it would mean a permission issue most likely.

    You can try to disable all other plugins. Maybe one of them is affecting this.

    If they are not there this would be strange. Hmm. I suppose you can see thumbnails on the NextGen Manage Galleries page? You can right-click on one of the thumbnails and open it in a new window to compare an address to this thumbnail with an address in the error. My pluggin suppose to aquire the same address.

    Please let me know what you will find out.

    Good luck

    Pawel

    Plugin Author pablo2

    (@pablo2)

    Hi,

    It seems that there is some incorrect and unexpected character in the date-time data in your files. The PHP function exif_read_data() can acquire it but shows a warning when doing it.

    I noticed that there is 1 less character i.e. in the “DateTime” here:

    [“DateTime”]=> string(20) “2023:05:11 00:58:25”

    One invisible character was added. I suppose that either it was added incorrectly by the camera or later by the software postprocessing it.

    There are only a few posts about similar errors: https://github.com/pel/pel/issues/174

    I added an error handling in a different recommended online way. The error appeared because I removed an error suppression which was not recommended. This revealed it. Now these errors appear in the browser console. In general, it would be better to get a read of them.

    I amended one of the photos by adding a description in Photoshop. It seems this helped because after uploading it to WordPress error disappeared.

    Plugin Author pablo2

    (@pablo2)

    Thank you. That’s something new. I will check tomorrow.

    Often PHP warnings can be ignored or switched off but better if they are not there.

    Plugin Author pablo2

    (@pablo2)

    I’m not sure I understand correctly, but in the Plus version on which I’m still working I added a mini-map with a photo location shown when an image is presented by the Fancybox. I think during Christmas I will have time to finish it completely.

    I spent a lot of time recently removing all warnings from the plugin and I hope it will work better.

    I’m also planning to add one improvement to the free versions – the same organisation of photos which is selected in the NextGEN gallery.

    Plugin Author pablo2

    (@pablo2)

    You tried like everything except what I exactly wrote. Replace?$_SERVER['DOCUMENT_ROOT']?with?ABSPATH.

    ABSPATH is a constant and does not need to have $ in front and anything else.

    Plugin Author pablo2

    (@pablo2)

    Hi,

    I’m like 90% sure that I found a reason why your photos were not shown. The global variable to the server I used in your case probably is not returning the full path because your WP is installed in a subfolder.

    The solution is to replace all occurrences of $_SERVER['DOCUMENT_ROOT'] with ABSPATH in a file functions.php located in my plugin directory: wp-content\plugins\nextgen-gallery-geo

    I will do it when I will finish my updates but you can also do it manually. This way we could know for sure sooner.

    I think you can now remove User: testforum or change the password.

    Plugin Author pablo2

    (@pablo2)

    Hi, Thank you for this. I made an attempt to find a problem. I located a missing code which is for some reason not generated by your server. Likely the GPS information can not be acquired from a photo and returns nothing. Images are fine. I uploaded one of my images to your WP site and it didn’t work as well. I tried to recreate your setting including the Theme and plugins on my website but nothing affected it. The Exif PHP module is installed on your server. I’m sorry but currently, I don’t know how to repair this. I’m working on an update to the plugin and I can include some code that maybe could give me a clue if the issue is where I think it is, although I don’t currently think this is caused by a faulty code in my plugin. It may take me a couple of weeks to issue this update. Meanwhile, I will think about how I can find a reason for this not working on your site. Kind regards.

    Plugin Author pablo2

    (@pablo2)

    Hi, Sure I can check it for you.

    Try also a code like this: [geo2 pid=15] Just replace 15 with your image id number. You can find in any NextGen gallery. First column.

    The code should be replaced with a map with just this one photo.

    You can also check if there are any warnings in the browser console. For this press F12 when the web page is open or before loading it and switch to the console panel. You may see also warnings related to other things.

    Plugin Author pablo2

    (@pablo2)

    Hi.

    I’m sorry I missed your message. Firstly shortcode geo2 is needed only once inside the brackets. You also don’t need to indicate map parameters unless you want to have a different look for this specific map. What is needed is a gallery id or a picture id number (pid). Use small letters only, so id not ID.

    Your shortcode would look like this [ geo2 id=2 map=aerial exif=1]

    Plugin Author pablo2

    (@pablo2)

    Hi,

    I looked into this issue. I still have some undefined PHP variables. This is on my ToDo list. This in general is not stopping the web page to load and the warnings can be disabled. They should be disabled by default. Probably the display of PHP warnings is enabled in your WordPress.

    It could be in the wp-config.php file. Please check here: https://www.ads-software.com/documentation/article/debugging-in-wordpress/

    Or in the php.ini file. If this is the php.ini file you can instal a plugin called Custom PHP Settings and use a custom setting display_errors=0

    Please also check this post: https://www.ads-software.com/support/topic/not-compatible-with-php-8-0-10/

    Although, I was not able to find php.ini file on my server and I was only able to amend it with plugins.

    I hope this will help.

    Plugin Author pablo2

    (@pablo2)

    Hi Markus,

    First of all, you should specify only one option:

    [geo2 geocoding_provider=bing / mapquest / openstreetmaps / no]

    [geo2 thumb_title=1 / 0]

    Please notice that in FAQ examples there are no /. Forward slash separates availble options.

    Secondly, options in the shortcode will override global values from the plugin settings page. You do not need to use “geocoding_provider=…” option in the shortcode unless only for this specific map you want to use a different map provider.

    What is most important is to specify what photos should be shown on a map: from specific NextGEN galleries using Shortcode: [geo2 id=1,6,12] or individual photos Shortcode: [geo2 pid=2,4,15]. Alternatively a Wordmap can be created with albums and galleries Shortcode: [geo2 worldmap=1 include=all ].

    If your photos have GPS coordinates Geocoding is not needed.

    I hope this will help.

    Plugin Author pablo2

    (@pablo2)

    Hi,

    I’m sorry for a late answer. As you probably guess it’s not possible to do it in the free version.

    When I will finally find time to do the final checks of the Plus version of the plugin I will let you know. I hope this summer. I will let you test this version for free if you will give me some feedback. Thank you for sharing your page.

    Best regards

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