Title: Responsive image from a link
Last modified: September 8, 2016

---

# Responsive image from a link

 *  Resolved [unitrip](https://wordpress.org/support/users/unitrip/)
 * (@unitrip)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/responsive-image-from-a-link/)
 * Hi,
 * To save space from my server, i would like to know if you think it’s possible
   to integrate a responsive image from a Flickr link ? When i’m integrate an image
   from a link, size doesn’t adapt to different screen size and stay at a fix size…
 * Thanks

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

 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/responsive-image-from-a-link/#post-8161592)
 * It looks like WordPress always adds a fixed size to images embedded by URL. Tracks
   won’t modify the image in this way.
 * As a workaround with Flickr, instead of using the URL you can use the embed code(
   [screenshot](http://pics.competethemes.com/1z2j0M0Z2J3h)). To use the embed code
   just switch your post editor from “Visual” to “Text” and paste it in. Then you
   can switch back to Visual and the image will show.
 * One more thing: when embedding this way, Flickr adds an overlay to the image,
   but that can be removed. Here’s the default embed code for an image:
 * `<a data-flickr-embed="true" href="https://www.flickr.com/photos/gseloff/29475843046/
   in/explore-2016-09-07/" title="Open Kimono"><img src="https://c7.staticflickr.
   com/9/8422/29475843046_477c623c87_h.jpg" width="1600" height="1066" alt="Open
   Kimono"></a><script async src="//embedr.flickr.com/assets/client-code.js" charset
   ="utf-8"></script>`
 * Take out the script part and the overlay will be removed:
 * `<a data-flickr-embed="true" href="https://www.flickr.com/photos/gseloff/29475843046/
   in/explore-2016-09-07/" title="Open Kimono"><img src="https://c7.staticflickr.
   com/9/8422/29475843046_477c623c87_h.jpg" width="1600" height="1066" alt="Open
   Kimono"></a>`
 *  Thread Starter [unitrip](https://wordpress.org/support/users/unitrip/)
 * (@unitrip)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/responsive-image-from-a-link/#post-8163181)
 * Yes Ben, I already used embed code in text part. It’s good to know how to remove
   script part! But the problem is that embed code isn’t responsive. When you look
   same post from a mobile phone,you won’t see all the picture ! Even on a computer,
   if the image is too big it won’t adapt to screen.
 * Any solution to made this embed code responsive ?
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/responsive-image-from-a-link/#post-8163636)
 * Okay I see now. Try adding the following CSS to the Custom CSS section in the
   Customizer:
 *     ```
       .entry-content img {
         max-width: 100%;
       }
       ```
   
 * That will limit any images in the posts/pages from expanding beyond the content
   area.
 *  Thread Starter [unitrip](https://wordpress.org/support/users/unitrip/)
 * (@unitrip)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/responsive-image-from-a-link/#post-8163823)
 * You are amazing ! Thank you so much !
 * Maybe see you soon in a next post.

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

The topic ‘Responsive image from a link’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/tracks/1.81/screenshot.png)
 * Tracks
 * [Support Threads](https://wordpress.org/support/theme/tracks/)
 * [Active Topics](https://wordpress.org/support/theme/tracks/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/tracks/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/tracks/reviews/)

## Tags

 * [image](https://wordpress.org/support/topic-tag/image/)
 * [link](https://wordpress.org/support/topic-tag/link/)

 * 4 replies
 * 2 participants
 * Last reply from: [unitrip](https://wordpress.org/support/users/unitrip/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/responsive-image-from-a-link/#post-8163823)
 * Status: resolved