Hello/Hi/Greetings,
The latest/greatest by Google & others: AMP (accelerated mobile pages). It would be super-cool if Piwigo had native support for this :)
https://github.com/ampproject/amphtml
Offline
Let's revisit this. :D
We have AMP working at https://tallguysfree.com/index.amp , but it uses dozens of Smarty functions to rewrite page content based on URL. It took us months to get it done. I would love to work with Piwigo to make it AMP compatible.
Offline
So that would make a piwigo gallery load faster in mobile browsers? How does it work?
Source code: https://github.com/Piwigo/
Offline
We will never use a closed technology controlled by a company. Behind AMP is Google which is caching the page and making the standards sometimes very obscure or "weird" like for instance with the ads injection.
If you really want to display your page speedy fast and be independent you pay a CDN to cache your pictures all around the world
Offline
Right. Thanks flop25 for explicitly stating. With AMP a site hands out the web page to the cache provider (which may be Google or others but usually will be Google) and they decide what to display when or not. While the technology is open source and standard, the rules of delivery are not. AMP is an initiative supported mainly by publishers and ad-sellers, now guess why..
Offline
One of the goals of the Piwigo project is to provide alternatives to "web giants" like Google/Facebook/Amazon... this is why I agree with flop25 :-)
Offline
flop25 wrote:
We will never use a closed technology controlled by a company. Behind AMP is Google which is caching the page and making the standards sometimes very obscure or "weird" like for instance with the ads injection.
If you really want to display your page speedy fast and be independent you pay a CDN to cache your pictures all around the world
flop25 You seem like the intelligent one on a lot of this stuff. Any chance you could steer me in the right direction to figure out the best way to load my pictures in a CDN bucket and have them show up in my piwigo gallery? Can't be too hard. I really like the lightroom upload and that is what I have used in the past, but I am willing to switch to a different loader. Do you need to create a tree in your bucket to make it work? I have an amazon bucket setup, I just need to figure out the best process to load them in the bucket and have my piwigo installation find them. Any help would be great. Thanks a ton, -Don
Offline
Sorry to hear this won't be implemented.
Offline
I'm glad to hear the libre/open-source sentiments expressed above. This is one of the reasons I use Piwigo! :-)
I once was involved in a project that used another of Google's technologies: Google Gears. It was fine in its way, but was an absolute pain to develop for, and ultimately (within a couple of years) it was superseded by HTML5 features (localstorage etc.) and all the work we did had to be re-done. I reckon AMP could quite well go the same way: start off as a proprietary thing that is then replaced by a functionally-similar but technically-incompatible open standard. Not worth putting time into yet.
Offline
Me too. I switched to Piwigo to escape Google's stranglehold.
Last edited by executive (2018-03-21 06:59:48)
Offline
What bothers me is it seems no one took a minute to researc AMP.
No one mentioned it is open source, instead assuming it's proprietary. They assumed it's controlled by Google, which is not completely true.
Google is not the only company to use AMP. Twitter also uses it. Any company can use it.
Google is not the only AMP cache. Cloudflare also has one. Any company can have one.
AMP is not strictly about advertising.
Truly, AMP is being taken how people took CSS (and HTML5) when they came out. They were scared.
If you have a gallery of something like models or dogs, don't expect to be found via search keyword (not meta keyword). Google ranks AMP pages higher.
AMP advertisements are not to be confused with "Better Ad Standards".
In my opinion, not having AMP is like when we browsed the internet on our flip phones -- no WAP/lightweight version available. AMP makes webpages simple again, like they often were in the 1990s. When someone wants to see something on the internet, they shouldnt have to wait. :)
Offline
Piwigo has detction for mobile devices
you're free to do your own AMP theme, or lightweight theme
Truly, AMP is being taken how people took CSS (and HTML5) when they came out. They were scared.
Html5 and CSS are managed by the W3C
Offline