Title: Make Photon mobile first?
Last modified: August 22, 2016

---

# Make Photon mobile first?

 *  Resolved [mskogly](https://wordpress.org/support/users/mskogly/)
 * (@mskogly)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/make-photon-mobile-first/)
 * I see in the faq that photon is supposed to add a width param relative to the
   value of the containing element, but if I, lets say, reduce the browserwindow
   and refreshes, it seem to still load the image with the param w=730 (in my case).
 * Is there a way to make the images be “mobile first”, or at least have wordpress
   sniff the resolution/width of the browser and change w= to fit that resolution,
   to speed up loading of a site on mobile phones.
 * [http://pappmaskin.no/2014/04/olbrygg-21-old-rusty-blacksmith-norwegian-american-farmhouse-stout/](http://pappmaskin.no/2014/04/olbrygg-21-old-rusty-blacksmith-norwegian-american-farmhouse-stout/)
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [11 years, 9 months ago](https://wordpress.org/support/topic/make-photon-mobile-first/#post-5283484)
 * The resize parameters are generated based on your theme’s content width, and 
   on the size parameters you added when you first inserted the image into the post.
   When you scale things down or view the post in a mobile browser, the images behave
   like they would without Photon: the only way to control their size is via CSS.
 * Changing the resize parameters based on the browser is something we’d like to
   implement, but we haven’t found a good way to do so yet. You can follow our progress
   on this in these 2 GitHub issues:
    - [https://github.com/Automattic/jetpack/issues/756](https://github.com/Automattic/jetpack/issues/756)
    - [https://github.com/Automattic/jetpack/issues/920](https://github.com/Automattic/jetpack/issues/920)
 *  Thread Starter [mskogly](https://wordpress.org/support/users/mskogly/)
 * (@mskogly)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/make-photon-mobile-first/#post-5283517)
 * The content width of my theme is set, at 730.
 * The developer behind BJ Lazy load plugin is considering photon-support, perhaps
   you should do lunch? A combo of Photon and that plugin would speed up imageheavy
   posts a lot.
 * [http://wordpress.org/plugins/bj-lazy-load/](http://wordpress.org/plugins/bj-lazy-load/)
   
   [Tweets by bjornjohansen](https://twitter.com/bjornjohansen?ref_src=twsrc%5Etfw)
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [11 years, 9 months ago](https://wordpress.org/support/topic/make-photon-mobile-first/#post-5283520)
 * > The developer behind BJ Lazy load plugin is considering photon-support, perhaps
   > you should do lunch? A combo of Photon and that plugin would speed up imageheavy
   > posts a lot.
 * Agreed. Photon is already compatible with most Lazy Load plugins out there. As
   long as the plugin uses the `data-lazy-src` attribute to handle Lazy Loaded images,
   it should be compatible with Photon.
    If it doesn’t, let me know and I’ll let
   the plugin author know so he can jump in this thread and we can work on that 
   together.
 *  [Bjørn Johansen](https://wordpress.org/support/users/bjornjohansen/)
 * (@bjornjohansen)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/make-photon-mobile-first/#post-5283577)
 * Thanks for letting me know of this thread [@mskogly](https://wordpress.org/support/users/mskogly/)
 * By coincidence BJ Lazy Load does use data-lazy-src as the attribute. However,
   I’ve heard several reports of BJ Lazy Load not being compatible with Photon, 
   but haven’t found the time to investigate yet.
 * The incompatibility issue is most likely on my side, so I’ll try to iron it out
   as soon as I can find the time.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Make Photon mobile first?’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Bjørn Johansen](https://wordpress.org/support/users/bjornjohansen/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/make-photon-mobile-first/#post-5283577)
 * Status: resolved