pavex
Forum Replies Created
-
Forum: Plugins
In reply to: [Embed Google Photos album] Not understanding google album plug-inHi Addblog,
My plugin now can’t display grid view, only player mode.
Regards
PavelForum: Plugins
In reply to: [Embed Google Photos album] I can’t see any imageHi lapresentacio,
first verify that the album is shared.
See the resulting html (or console) to see if the embed-ui.min.js script is loaded.
Check the console for any conflicts.
If you can’t find a mistake, send me a link to your site. Email can be found on my blog.
Regards
PavelForum: Plugins
In reply to: [Embed Google Photos album] Did the latest Firefox update break this plugin?Hi martymilligan,
I also noticed a big bug :/. The problem is not in the plugin but in latest (v1.2.2) decorator in CND. I’m working on a quick fix now. Thank you for the warning.Forum: Plugins
In reply to: [Embed Google Photos album] error next image in full screen modeThank you for the warning. This is a CSS conflict on some sites. I’m trying to fix it.
Forum: Plugins
In reply to: [Embed Google Photos album] Videos on the albumHi, now is available only single frame grabber on my blog. WordPress plugin does not support them yet. It will be possible in some future revision.
Forum: Plugins
In reply to: [Embed Google Photos album] error next image in full screen modeHi, thanks for the feedback. I updated many features. I tested it in full-page and fullscreen and looks like OK now.
Forum: Plugins
In reply to: [Embed Google Photos album] Enqueue script in footerPaul, thanks for notice.
I addedin_footer = TRUEin 2.0.9.
I originally wanted to useasyncbut now wordpress has bad support. Maybe add_action solution will be better.Forum: Plugins
In reply to: [Embed Google Photos album] Refresh cached album contents dailyHi Paul,
I’ve experimentally added a cache expiration option (in version 2.0.8). You must add a parameter to shortcode with timeout in seconds. Personally, I would set more than 24 hours. Check short plugin documentation to more details.- This reply was modified 7 years, 1 month ago by pavex.
Forum: Plugins
In reply to: [Embed Google Photos album] php functionHi Ogre, try update to 2.0.7 and use folloving code:
<?php echo (new Pavex_embed_google_photos_album()) -> getcode( 'https://photos.app.goo.gl/CSV7NDstShTUwUZq5', 0, 480, 1920, 1080 ); ?>- This reply was modified 7 years, 7 months ago by pavex.
Forum: Plugins
In reply to: [Embed Google Photos album] Some questions and suggestionHi Jeff, thank you for your interest. I very much appreciate your approach.
Here are my answers:1,2)
“embedWidth” and “embedHeight” is a bug. The width and height attributes are correct.
I fixed it to make the widget size correct.both attributes can be integer or “auto”. Auto is set to 100% of the parent component size. Just like a stretch, but it can be customized separately for both width and height.
Jeff, for explanation, width and height are not the dimensions of the image. It’s only a widget widget.
image-width and image-height are the maximum dimensions of the image.3) Stretch again applies only to the widget size. I recently replaced it by setting the width and height attributes to “auto”.
Javascript of player is compiled to be small and fast, so it’s not readable.
The mechanism of calculating the dimension of the image is more complex, however it is based on the dimension of the component and the actual dimension of the particular image.The “$src” variable contains the actual link to the Google Photos image. The url of the image also contains the dimension (maximum possible size). I briefly described this problem in my previous post on https://www.publicalbum.org/blog/embedding-google-photos-image
4) There is, I will try to solve it.
5) That’s a good idea. I have to see how to do it right.
6) Thanks for warning, I will not forget to fix the next revision
7) Now javascript is hosted on a single server. I want to change it and put it on some CDNs, but I have to deal with it gradually.
Forum: Reviews
In reply to: [Embed Google Photos album] Doesn’t workYes, the previous version had problems. Sorry, I did not fix it in time. Now it’s ok.