Jump to content
Sign in to follow this  
videopetegmailcom

Images to big in iBlogPro 4

Recommended Posts

videopetegmailcom

Hello, i want to use iBlogPro 4 for my blog but i have 2 questions: i already have 3000 messages on my blog. The maximum image width for iBlogPro 4 is 600 pixels but some of my 3000 blogpost contains images who are bigger than 600 pixels.Resizing them or edit a couple of thousands of messages is not an option. Is it possible to resize the images from for example 625 pixels tot 600 pixels by modifying some code in iBlogPro 4? Kind regards, Peter

Share this post


Link to post
Share on other sites
Andrew

where are you displaying the images? i.e. What are you using to do it?

Share this post


Link to post
Share on other sites
videopetegmailcom

Hello Andrew, The problem is that i have a lot of pictures in my existing blogposts with an image width of 625 pixels. Problem is that they are to big for iBlogPro 4 and it's not doable to adjust thousands of blogposts by hand. When i am using iBlogPro 4 they are cut off on the right side see the example: cut.jpg is there any way to correct this by cropping the images by a script or adjusting some code of iBlogPro 4? Hope you can help me out with this.

Share this post


Link to post
Share on other sites
bryan-hadaway

I know this could be handled somewhere in the code that creates the image tag to add: `width="600"` But this will likely create an undesirable "stretched" look. Do you have Photoshop (if so, which version)? I can walk you through an automated way to bulk resize the images. Thanks, Bryan

Share this post


Link to post
Share on other sites
videopetegmailcom

Hello Bryan, if i add: img {max-width:600px;} to style.CSS the problem is fixed but i only want to use it on my blogposts. Because everything has now an image width of 600 pixels on my website.

Share this post


Link to post
Share on other sites
videopetegmailcom

Update: solved it with adding img {max-width:600px;} to page.php Is it also possible to add this line in the custom settings?

Share this post


Link to post
Share on other sites
cmunns

If you want it only on the blogposts then you can add #maincontent in front of the "img" CSS This can be applied in the THEME OPTIONS > CUSTOM CODE SECTION

Share this post


Link to post
Share on other sites
videopetegmailcom

Hello Adam, thanks for your advice. Should i add this: #maincontent img {max-width:600px;} in the CUSTOM CODE SECTION Thanks again!

Share this post


Link to post
Share on other sites
cmunns

Yeah that would do just fine.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×