Jan Zeman
Forum Replies Created
-
Hi Naveen,
Well, this really seems to be an issue on your site, but I hear you, and I made the following change: the Playground is now loaded as the very last section. If you click the browser reload button, you will see “Preparing preview” there for a short while. In my case, it takes only about one second.
It is not guaranteed, but I hope this helps on your site.
BR, Jan
- This reply was modified 4 weeks ago by Jan Zeman.
@naveenbachwani, I am a bit confused by your comment that the Settings page takes forever to load. What does “forever” mean on your site?
I have the plugin installed on a development machine and on two live WordPress sites, and in all cases the Settings page loads in under one second, sometimes two. If I clear all cache, it takes around 3–5 seconds.
If you scroll down after the cache has been cleared to the “Description & EXIF Info” section, you may see “Loading…” labels. That will, however, happen only after the cache has been cleared. The next time, I am back to 1–2 seconds.
If possible, could you please try installing the plugin on a clean WordPress site and compare the behavior there?
UPDATE: I just tried to do so via TasteWP service and I see the same performance there.
Please try to test it yourself:Admin area URL: https://futureeyes.s6-tastewp.com/wp-admin
Username: admin
Password: iP1pE2fAGJwWonderful, bug closed 🙂
Hi Naveen,
The heavy fetch is mostly a cold-cache cost, not something every visitor keeps paying forever.
The EXIF and description data are cached server-side per photo ID after the first fetch, and all later visitors are served from that cache immediately. So for a given photo on a given site, the expensive Google Photos page fetch happens only the first time, or again if the plugin cache is cleared manually.
I did a bit of measuring. The album data is small, and the separate filename probe is tiny. The extra round trip for EXIF is usually less than 1 MB per photo, but it is still not negligible. So the concern about first-time warm-up bandwidth is valid, but I believe the cache is the guard and the remedy here. From that perspective I am not currently convinced that switching EXIF-type placeholders to an on-demand click flow would be worth the extra complexity.
Please check version 2.1.2. I have updated the plugin’s Settings text to make this clearer and to warn users not to clear the cache unnecessarily.
BR, Jan
- This reply was modified 4 weeks, 1 day ago by Jan Zeman.
Hi @naveenbachwani,
Please try 2.1.0. You will find there both {decription} as well as improved {camera} and more 🙂
I hope I did not introduce any other issues as it turned out to be a larger version change at the end due to requests from multiple users…
BR, JanHi @naveenbachwani,
Please try 2.1.0.
BR, JanHi @naveenbachwani,
Please try 2.1.0. At the end I reacted also on this part of your request: “Perhaps you can publish a separate page of all the parameters one can pick from?”
BR, JanHi Peter,
Please try 2.1.0.
Either set gallery-buttons-on-mobile=”on-interaction” or remove this parameter from your shortcode entirely.
I tested it and got very similar behavior you experienced with the 2.0.3 version. I am still not 100% happy with the iPhone experience but by now it is really too many hours invested so I had to stop somewhere. The icons appear on a _slow_ scrolling, resp. at the beginning of the scrolling. If one scrolls frenetically further or expects the icons to appear immediately after the scrolling stops – it does not work. On Android the same code behaves much nicer, faster and more predictable.
I will be curious about your tests. Do not hesitate to write about imperfections. I will probably not try to fix them right away but with some days pause for sure 🙂
Best regards, JanHi @peterpolow,
No any ‘mystery’ after all 😉 I totally forgot you prefer fullscreen-toggle=”click”. I selected fullscreen-toggle=”double-click” on the sites I manage and more or less forgotten about the ‘click’ option.
It is crystal-clear by now and I think I will be able to bring the functionality very similar to the one you experienced on 2.0.3.
BR, Jan… this is how it behaves on my environment. The shortcode is the one from my last message.
I also added a feature when the buttons ‘blink’ once so they are easier discoverable. You will see it at the beginning of the video. Maybe that went too far(?)
https://youtube.com/shorts/uHaIh_gSeZY?feature=shareYou will try my shortcode on your environment and possibly a blank page. I will try your shortcode(s) once I get them and we will try to find what is causing the difference.
Once I get shortcodes from you I will also compare it locally on with the 2.0.3 version of course.
BR, JanHi @naveenbachwani,
Thank you very much for requesting the Description feature. I have tried before and failed. Based on your request I tried harder – and succeeded 🙂
The NIKON-NIKON info was a small bug. The {camera} placeholder got a bit of intelligence by now and also I exposed {camera-make} and {camera-model} as the pure EXIF info with zero modifications.
Both will be released in 2.0.12, latest this weekend.
Many greeting from a CANON guy 😉
JanHi Naveen,
The screenshot helped a lot. This will be fixed in the upcoming version – 2.0.12.
Thank you for reporting!
BR, JanHi Peter,
This one is a bit mysterious, but I am sure we will crack it. I will keep investigating over the weekend.
As a quick test, could you please try exactly this shortcode on a blank page and let me know how it behaves on your iPhone?
[jzsa-album link="https://photos.google.com/share/AF1QipNynqObVgSwXngZWfpmim9-xyQNy9BQ5P-PZ_X19Oay0KgkHmXTcIt9_Gw0RKMKIA?key=N1RqVnFaR1lJd0NrUmk5UFc3LWZGM3lLS1JjRHBB" gallery-layout="grid" show-download-button="true" show-link-button="true" background-color="transparent" show-videos="true" gallery-buttons-on-mobile="on-tap"]More importantly, could you send me:
- the exact shortcode or shortcodes you are testing on your site
- the page URL, if possible
- whether the simplified shortcode above was tested on a blank page with nothing else on it
That may help me spot what is causing the difference between your setup and mine.
If you prefer, you are welcome to contact me by email as well. The address is listed in the plugin’s SECURITY.md file.
Kind regards,
JanThank you!
Hello @naveenbachwani,
It is so great you follow up! Why? Because I tried to fetch the description before and failed. Based on your request I tried again and … yes it is possible! 🙂
Also the EXIF info for camera will be improved.
I am also fighting with including images here. It seems to be an issue existing for years (?!). I am ‘misusing’ the opportunity and posting the same image below in 3 different forms in hope any of them will also render itself. I used https://postimg.cc/ as a workaround as mentioned here.https://postimg.cc/147w6FbH
https://i.postimg.cc/ncpkyYk6/description-is-available.png
[url=https://postimg.cc/147w6FbH][img]https://i.postimg.cc/147w6FbH/description-is-available.png[/img][/url]My apologies for the ‘bureaucracy’ but can I please ask you to split your last message into 2 separated requests and submit it as two new threads? It will help the future readers. I will inform you there about the new feature availability.
And, regarding the 1st issue, if you please can add the screenshot of the problematic mosaic panel the same way – that would be a great help. Thank you 🙂
Best regards, Jan