Support » Plugin: Slim Jetpack » Photon

  • Resolved ulihake


    Photon is included in 2.7 with these two lines of code:
    require_once( JETPACK__PLUGIN_DIR . ‘class.photon.php’ );
    require_once( JETPACK__PLUGIN_DIR . ‘functions.photon.php’ );

    I my case with a negative impact on my tiled galleries. You state in the readme file that Photon has been removed and in 2.5 these two lines read:
    //require_once( JETPACK__PLUGIN_DIR . ‘class.photon.php’ );
    //require_once( JETPACK__PLUGIN_DIR . ‘functions.photon.php’ );

    Could you dig into this? Does Slim Jetpack require the photon class and the photon functions or is this simply a mistake?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WingerSpeed


    What’s the impact?

    Impact is that tiled galleries show messed up in size and layout, it’s not a tiled gallery anymore, it resembles what I would call a “messed up gallery”… It’s reproducable: if I comment out the two lines, everything works fine, if I uncomment the lines (original state) tiled gallery stops working as expected on all browsers and platforms.

    Was there a reason to change this? In 2.5 photon class and functions are not loaded, in 2.7 you load them again. But moreover your photon plugin directory is empty in 2.7 whereas in 2.5 you find two files in the photon directory in modules.

    I did not make any further analysis of the problem. I just wanted to know why my tiled galleries stopped working after the update from 2.5 to 2.7 and that’s what I’ve found.

    But: I have to admit that I do not know what the benefits of photon are, – if it works -, maybe it’s worth to have photon activated and to fix the problems which could be related to some special conditions on my server and maybe there’s no need for the photon files in the modules directory. If you indicate that the problem has to be on my side, I will try to find additional problems in my instance but before losing time I’m in need of a short reply from your side that your implementation is correct and operational.

    Plugin Author WingerSpeed


    Actually, photon can be used as free CDN without account.
    In one of the earlier versions, this feature was on.
    But now, I decided to turn it off.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Photon’ is closed to new replies.