Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Images not resizing within posts (http://forum.bytesforall.com/showthread.php?t=5507)

kam Jan 25, 2010 04:29 PM

Images not resizing within posts
 
Does anyone know how to set Atahualpa to automatically resize an image down to fit inside a post window?

In the case of one site, we post scanned newspaper articles for the archives. I want the scanned pictures to show up in the post window scaled to fit (not stretched!) but open up to full size in a new window when you click on it.

Here is a test post that shows the problem I’m running in to:

http://www.greencauldron.org/?p=253

Thanks!

Kam.

juggledad Jan 25, 2010 05:24 PM

There is no automatic way. When you add an image with the MEDIA option in the post, select a smaller size than the full size.

Nightrowan Jan 26, 2010 02:48 PM

I think I understand what you want to do. I'm running Atahualpa 3.4 at the moment and what I did was go to the Theme Options -> Style IMAGES -> Images in Post and added

Width: 80%; (you could use 100%, it just looked wrong on my site)

To have the photo open at full size when clicked on just edit the photo, click on Advanced settings. There's a check box at the bottom with this option.

The only problem I've had with this option is that it affects my thumbnails on the index page as well. Still working on how to get them back down to 150px while keeping this style for the rest of the site.

Here's a page from my site that works as I imagine you want yours to, although only the first image has been edited to open in a new window/tab.j

***EDIT***

I found a better way. Assign a class to your image and then add a CSS insert:

img.classname {
width: 100%;
}

You still have to do the other bit about telling it to open the image in a new window/tab when clicked. This way it doesn't mess around with all your other photos, just the ones you want displayed at the full width of the column.

kaspar.wimberley May 14, 2010 05:06 PM

Don't forget to add:
Height: 100%
Otherwise the thumbnails will warp.

And more control if you do thumbnails and posts seperately.
Add CSS to the theme options thumbnail section: Width: 100%; Height: 100%
Add 100% in both height and width boxes on the advanced section when editing pictures in a post.
Then you can choose what stretches when.

juggledad May 14, 2010 06:24 PM

see this post http://forum.bytesforall.com/showthr...ghlight=resize


All times are GMT -6. The time now is 09:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.