• Resolved Erik Fantasia

    (@epfantasia)


    It seems Pinterest does not detect/allow images that use the HTTPS protocol, like those generated by Picasa and Google+. Google has suggested webmasters that would like this functionality serve the non-secure image. The URL is the same, you just have to drop the ‘s’ in https – any chance this could be added to Shashin? Thanks!

    https://www.ads-software.com/extend/plugins/shashin/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Erik Fantasia

    (@epfantasia)

    Likewise – it would be great to add Pinterest to the social tools shown with Pretty Photo…

    Plugin Author Mike Toppa

    (@toppa)

    Sorry for the late reply. Can you say more about what you’re trying to do? I’m not sure what Pinterest has to do with displaying Picasa photos on a WordPress site.

    Thread Starter Erik Fantasia

    (@epfantasia)

    Hi Mike,

    The problem occurs if someone want to put a Picasa photo displayed using Shashin on Pinterest. Steps to replicate:
    * On pinterest click the + button to add a new pin
    * Choose “Add from a website”
    * Enter the URL to the page using Shashin/Picasa. I entered this page from your blog: https://www.toppa.com/2013/seeing-big-country-for-the-first-time-in-20-years/

    You will notice none of the Shashin/Picasa images from the post are detected (since they use HTTPS).

    A Picasa support form thread on this topic: https://productforums.google.com/forum/#!msg/picasa/BN2NygsrIlI/TOiKbKeYITUJ

    I added a method to Public_ShashinPhotoDisplayerPicasaPrettyphoto to do this:

    /* return img src as http if not on secure connection (and keep pinterest happy) */
        public function setImgSrc() {
            parent::setImgSrc();
            if (!$_SERVER["HTTPS"] && substr(strtolower($this->imgSrc), 0, 5) == "https") {
                $this->imgSrc = "http".substr($this->imgSrc, 5);
            }
            return $this->imgSrc;
        }

    Of course I assume you know the best way to tackle this ??

    Plugin Author Mike Toppa

    (@toppa)

    Thanks for explaining (if it wasn’t already obvious, I don’t use Pinterest…). I’ll include this change in the next version, assuming it doesn’t cause any other complications. I’ve added it to the issues list: https://github.com/toppa/Shashin/issues/47

    Thread Starter Erik Fantasia

    (@epfantasia)

    Thanks, Mike!

    Perhaps it would also be possible to include a Picasa button (like the Facebook and Twitter ones) in the PrettyPhoto social tools. Could we open another issue for that?

    Plugin Author Mike Toppa

    (@toppa)

    Done – included in version 3.4

    Thread Starter Erik Fantasia

    (@epfantasia)

    Great stuff – thanks, Mike!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘http protocol for picasa/google links’ is closed to new replies.