0

I am using feedburner (give it the url of my RSS feed). Each of my feed item have an image, is there a way to lower the actual image size so that people dont have to download the real size?

EDIT FROM COMMENTS

The url of the image is one of the item description. I resized it :

<img width="200" height="200" border="2" {{data['child']['']['image'][0]['child']['']['description'][0]['data']}} />

so that it has a smaller size.
But then I realized that for mobile user we don't want them to download the original image which can be too big. That made me wonder what would be a way to reduce the size of the image before it is downloaded?

3
  • Answer to "is there a way" is "yes" almost universally. Details matter. How are you adding images to items, are they just in post content? What had you looked into and tried for achieving it?
    – Rarst
    Commented May 29, 2014 at 14:00
  • the url of the image come with the item.I resized it with css (<img width="200" height="200" border="2" {{data['child']['']['image'][0]['child']['']['description'][0]['data']}} />)so that it has a thumbnail. But then i realized that for mobile user we don't want them to download the original image which can be too big an was wondering what would be a way to reduce the size of the image before it is downloaded.
    – mamesaye
    Commented May 29, 2014 at 14:05
  • You should add important info like this directly to your question via an edit. Some people doesn't read comments, so this vital information is lost to them. Commented May 29, 2014 at 14:27

1 Answer 1

-1

You probably must do a function on function.php file in to your template.

Reference1 : How to edit the wordpress RSS feed

Reference 2: the_post_thumbnail

2
  • 1
    Lone link is considered a poor answer (see help > deleted answers) since it is meaningless by itself and target resource is not guaranteed to be alive in the future. Please try to include at least summary of information you are linking to.
    – Rarst
    Commented May 29, 2014 at 14:06
  • @Richzendy, these references are just resizing the original image but still download the whole original image.
    – mamesaye
    Commented May 29, 2014 at 21:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.