May 4, 2011

Resize RSS Images? | CyberSEO Pro | Support Forums

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Related Topics sp_topicicon
Resize RSS Images?
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
January 3, 2012
9:13 pm
Avatar
Johnny Wadd
Guest
Guests

Can your plugin automatically resize rss images to my requirement?

If so, how is that done?

This plugin is fantastic….

January 5, 2012
5:23 pm
Avatar
Admin
Forum Posts: 3097
Member Since:
July 2, 2009
sp_userofflinesmall Offline

Do you mean the resizing of locally stored images, or just changing the “height” and “width” parameters of the “<img>” tag?

January 5, 2012
5:57 pm
Avatar
Johnny Wadd
Guest
Guests

I would like to see your app (or wordpress) automatically downscale all rss feed images to a maximum size of 630px.

In other words, I would like a hands-off method of rescaling images that come through the rss feeds to fit within the post container.

Thanx

January 5, 2012
6:13 pm
Avatar
Admin
Forum Posts: 3097
Member Since:
July 2, 2009
sp_userofflinesmall Offline

There are many ways to do what you want. The simplest one is adding the following line into your blog's style.css:

Login to see the code.

January 5, 2012
8:19 pm
Avatar
Johnny Wadd
Guest
Guests

I'll give it a shot…

Can you share with your community the other methods?

January 5, 2012
8:54 pm
Avatar
Admin
Forum Posts: 3097
Member Since:
July 2, 2009
sp_userofflinesmall Offline

Johnny Wadd said:

Can you share with your community the other methods?

For example, you can write your own script (insert it into “PHP code <?php .. ?>”) which will replace the “height” and “width” attributes of the “<img>” tag with your own values. The following example will work fine in case if the image’s “width” and “height” attributes are not defined:

Login to see the code.

Login to see the code.

Login to see the code.

Login to see the code.

January 5, 2012
9:11 pm
Avatar
Johnny Wadd
Guest
Guests

Wonderful!

Thanks for your expertise… I’ll report back on my finding.

Thanks for the quick responses!

Forum Timezone: Europe/Moscow

Most Users Ever Online: 105

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 81

Freedom: 61

B8europe: 54

saviulisse67: 45

adultdenim: 44

allgoodies: 38

Member Stats:

Guest Posters: 350

Members: 1927

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1328

Posts: 6627

Administrators: CyberSEO: 3097