WordPress.org

Ready to get started?Download WordPress

Forums

Slim Jetpack
[resolved] Photon (5 posts)

  1. ulihake
    Member
    Posted 7 months ago #

    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?

    Thanks.
    ulih

    http://wordpress.org/plugins/slimjetpack/

  2. WingerSpeed
    Member
    Plugin Author

    Posted 7 months ago #

    What's the impact?

  3. ulihake
    Member
    Posted 7 months ago #

    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.

  4. ulihake
    Member
    Posted 7 months ago #

    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.
    Thanks.
    ulih

  5. WingerSpeed
    Member
    Plugin Author

    Posted 7 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.