Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Images not resizing within posts


  #1  
Old Jan 25, 2010, 04:29 PM
kam
 
5 posts · Dec 2009
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.
  #2  
Old Jan 25, 2010, 05:24 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 26, 2010, 02:48 PM
Nightrowan
 
1 posts · Jan 2010
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.

Last edited by Nightrowan; Jan 26, 2010 at 05:58 PM. Reason: Updated Information
  #4  
Old May 14, 2010, 05:06 PM
kaspar.wimberley
 
24 posts · May 2010
Stuttgart
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.

Last edited by kaspar.wimberley; May 14, 2010 at 06:16 PM.
  #5  
Old May 14, 2010, 06:24 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
see this post http://forum.bytesforall.com/showthr...ghlight=resize
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to to use images in my posts marineceo Center area post/pages 1 Jan 19, 2010 10:45 AM
Ignores Images in Posts Styling karenika Atahualpa 3 Wordpress theme 2 Dec 18, 2009 04:11 AM
Resizing flash banners timdevogel Sidebars & Widgets 6 Aug 5, 2009 06:02 AM
Sidebar Image Resizing baskenburg Sidebars & Widgets 1 Apr 17, 2009 05:49 PM
Can't put images in my posts jockoe Atahualpa 3 Wordpress theme 4 Feb 24, 2009 07:04 AM


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


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