Images on front page

Hi Guys,

On my website http://thedancingsoul.ie is there way of changing the css of  images below of all the different peoples faces so that they dont look so square and they dont look so oversized and fit properly??
jonathanduane2010Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RobOwner (Aidellio)Commented:
How do you want them to look if not square?

All the images are the same size so to make them look better you'll need to retake the photos or add more background to the images via layering using photoshop etc
jonathanduane2010Author Commented:
Can i make them bigger on the front page, if you click on each image and it will bring you to a post and you will see they look fine there,
RobOwner (Aidellio)Commented:
This will be to do with your template.. what are you using to display the front page?  more specifically the images?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Get Blueprints for Increased Customer Retention

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

jonathanduane2010Author Commented:
I am not too sure, i think is the single portfolio.php

<?php get_header(); ?>
		
		<?php
			
				if(have_posts()) 
					while(have_posts()): 
						the_post();
			?>	
		
		
		<div class="bread-crumbs"><?php echo of_get_option('bread_crumb'); ?> <a href="<?php echo site_url(); ?>"><?php _e('Home','progressionstudios'); ?></a> &rsaquo; <?php echo $post->post_title; ?></div>
		
		
		<div class="content-container">
			
			
			<div class="page-content">
				
				
				<?php if(of_get_option('portfolio_pagination_nav', 'yes') == 'yes'): ?>
				<ul class="sub-pagination">
					<li><?php previous_post_link( '%link', __( '&lsaquo; Previous', 'progressionstudios' ) ); ?></li>
					<li><?php next_post_link( '%link', __( 'Next &rsaquo;', 'progressionstudios' ) ); ?></li>
				</ul>
				<?php endif; ?>
					
					
					
				<h1 class="page-title"><?php the_title(); ?></h1>
				
				<div class="portfolio-single">
			
					<?php if(of_get_option('portfolio_single_style', 'full') == 'full'): ?>
					
					<!-- START AnythingSlider -->
					<ul id="slider">
						
						
						<?php if(get_post_meta(get_the_id(), 'pyre_video_embed_link_2', true)): ?>
							<!-- SLIDE OPEN -->
							<li>
								
								
								<?php
								$values = get_post_custom_values('pyre_video_embed_link_2');
								$pattern = "/height=\"[0-9]*\"/";
								$values = preg_replace($pattern, 'height="510"', $values);
								$pattern = "/width=\"[0-9]*\"/";
								$values = preg_replace($pattern, 'width="900"', $values);
								$shortcode_output = do_shortcode($values[0]);
								print $shortcode_output;
								?>
							

							
							</li>
							<!-- END SLIDE -->
						<?php endif; ?>
						
						
						<?php if(get_post_meta(get_the_id(), 'pyre_video_embed_link_3', true)): ?>
							<!-- SLIDE OPEN -->
							<li>
								
								<?php
								$values = get_post_custom_values('pyre_video_embed_link_3');
								$pattern = "/height=\"[0-9]*\"/";
								$values = preg_replace($pattern, "height='510'", $values);
								$pattern = "/width=\"[0-9]*\"/";
								$values = preg_replace($pattern, "width='900'", $values);
								$shortcode_output = do_shortcode($values[0]);
								print $shortcode_output;										
								?>
								

							
							</li>
							<!-- END SLIDE -->
						<?php endif; ?>
						
						<?php if(get_post_meta(get_the_id(), 'pyre_video_embed_link_4', true)): ?>
							<!-- SLIDE OPEN -->
							<li>
							
								<?php
								$values = get_post_custom_values('pyre_video_embed_link_4');
								$pattern = "/height=\"[0-9]*\"/";
								$values = preg_replace($pattern, "height='510'", $values);
								$pattern = "/width=\"[0-9]*\"/";
								$values = preg_replace($pattern, "width='900'", $values);
								$shortcode_output = do_shortcode($values[0]);
								print $shortcode_output;										
								?>
							
							</li>
							<!-- END SLIDE -->
						<?php endif; ?>
						
						<?php if(get_post_meta(get_the_id(), 'pyre_video_embed_link_5', true)): ?>
							<!-- SLIDE OPEN -->
							<li>
							
								<?php
								$values = get_post_custom_values('pyre_video_embed_link_5');
								$pattern = "/height=\"[0-9]*\"/";
								$values = preg_replace($pattern, "height='510'", $values);
								$pattern = "/width=\"[0-9]*\"/";
								$values = preg_replace($pattern, "width='900'", $values);
								$shortcode_output = do_shortcode($values[0]);
								print $shortcode_output;										
								?>
							
							</li>
							<!-- END SLIDE -->
						<?php endif; ?>
						
						
						<?php if(get_post_meta(get_the_id(), 'pyre_remove_featured_image', true)): ?>
						
						<?php else: ?>
						
						<?php
						$args = array(
						    'post_type' => 'attachment',
						    'numberposts' => '-1',
						    'post_status' => null,
						    'post_parent' => $post->ID,
							'orderby' => 'menu_order',
							'order' => 'ASC'
						);
						$attachments = get_posts($args);
						if($attachments):
						    foreach($attachments as $attachment):
						?>
						
						<?php $image = wp_get_attachment_image_src($attachment->ID, 'full'); ?>
						<?php $image_2 = wp_get_attachment_image_src($attachment->ID, 'portfolio-single'); ?>
						
						<li>
							<a href="<?php echo $image[0]; ?>" rel="prettyPhoto[gallery1]" title=""><img src="<?php echo $image_2[0]; ?>" alt="<?php echo $attachment->post_title; ?>" /></a>
						</li>
						
						<?php endforeach; endif; ?>
						
						<?php endif; ?>
						
					</ul>
					
					<script type="text/javascript">
					jQuery(document).ready(function($) {
						$('#slider').anythingSlider({
							delay               : <?php echo of_get_option('portfolio_speed', '3500'); ?>,      // How long between slideshow transitions in AutoPlay mode (in milliseconds)
							animationTime       : <?php echo of_get_option('portfolio_transition', '400'); ?>,       // How long the slideshow transition takes (in milliseconds)
							buildArrows         : <?php echo of_get_option('portfolio_arrows', 'false'); ?>,      // If true, builds the forwards and backwards buttons
							buildNavigation     : true,      // If true, buildsa list of anchor links to link to each panel
							autoPlay            : <?php echo of_get_option('portfolio_timer', 'true'); ?>,      // This turns off the entire slideshow FUNCTIONALY, not just if it starts running or not
							hashTags            : false,      // Should links change the hashtag in the URL?
							resizeContents      : true,
							addWmodeToObject    : 'transparent',
							startStopped        : false,     // If autoPlay is on, this can force it to start stopped
							pauseOnHover        : true,      // If true & the slideshow is active, the slideshow will pause on hover
							resumeOnVideoEnd    : true      // If true & the slideshow is active & a youtube video is playing, it will pause the autoplay until the video has completed
						});
					});
					</script>
					
					
					<div class="portfolio-details"><?php _e('by','progressionstudios'); ?> <?php echo  the_author_posts_link(); ?> <?php _e('on','progressionstudios'); ?> <?php the_time('F d, Y'); ?></div>

					<?php the_content(); ?>
					
					<?php else: ?>
					
					
					<div class="alignright">
					
					<!-- START AnythingSlider -->
					<ul id="slider-2">
						
						<?php if(get_post_meta(get_the_id(), 'pyre_video_embed_link_2', true)): ?>
							<!-- SLIDE OPEN -->
							<li>
								
								<?php
								$values = get_post_custom_values('pyre_video_embed_link_2');
								$pattern = "/height=\"[0-9]*\"/";
								$values = preg_replace($pattern, "height='280'", $values);
								$pattern = "/width=\"[0-9]*\"/";
								$values = preg_replace($pattern, "width='500'", $values);
								$shortcode_output = do_shortcode($values[0]);
								print $shortcode_output;										
								?>
								
								

							
							</li>
							<!-- END SLIDE -->
						<?php endif; ?>
						
						
						<?php if(get_post_meta(get_the_id(), 'pyre_video_embed_link_3', true)): ?>
							<!-- SLIDE OPEN -->
							<li>
							
								<?php
								$values = get_post_custom_values('pyre_video_embed_link_3');
								$pattern = "/height=\"[0-9]*\"/";
								$values = preg_replace($pattern, "height='280'", $values);
								$pattern = "/width=\"[0-9]*\"/";
								$values = preg_replace($pattern, "width='500'", $values);
								$shortcode_output = do_shortcode($values[0]);
								print $shortcode_output;										
								?>
							
							</li>
							<!-- END SLIDE -->
						<?php endif; ?>
						
						<?php if(get_post_meta(get_the_id(), 'pyre_video_embed_link_4', true)): ?>
							<!-- SLIDE OPEN -->
							<li>
							
								<?php
								$values = get_post_custom_values('pyre_video_embed_link_4');
								$pattern = "/height=\"[0-9]*\"/";
								$values = preg_replace($pattern, "height='280'", $values);
								$pattern = "/width=\"[0-9]*\"/";
								$values = preg_replace($pattern, "width='500'", $values);
								$shortcode_output = do_shortcode($values[0]);
								print $shortcode_output;										
								?>
							
							</li>
							<!-- END SLIDE -->
						<?php endif; ?>
						
						<?php if(get_post_meta(get_the_id(), 'pyre_video_embed_link_5', true)): ?>
							<!-- SLIDE OPEN -->
							<li>
							
								<?php
								$values = get_post_custom_values('pyre_video_embed_link_5');
								$pattern = "/height=\"[0-9]*\"/";
								$values = preg_replace($pattern, "height='280'", $values);
								$pattern = "/width=\"[0-9]*\"/";
								$values = preg_replace($pattern, "width='500'", $values);
								$shortcode_output = do_shortcode($values[0]);
								print $shortcode_output;										
								?>
							
							</li>
							<!-- END SLIDE -->
						<?php endif; ?>
						
						
						<?php if(get_post_meta(get_the_id(), 'pyre_remove_featured_image', true)): ?>
						
						<?php else: ?>
						
						<?php
						$args = array(
						    'post_type' => 'attachment',
						    'numberposts' => '-1',
						    'post_status' => null,
						    'post_parent' => $post->ID,
							'orderby' => 'menu_order',
							'order' => 'ASC'
						);
						$attachments = get_posts($args);
						if($attachments):
						    foreach($attachments as $attachment):
						?>
						
						<?php $image = wp_get_attachment_image_src($attachment->ID, 'full'); ?>
						<?php $image_2 = wp_get_attachment_image_src($attachment->ID, 'portfolio-single-2'); ?>
						
						<li>
							<a href="<?php echo $image[0]; ?>" rel="prettyPhoto[gallery1]" title=""><img src="<?php echo $image_2[0]; ?>" alt="<?php echo $attachment->post_title; ?>" /></a>
						</li>
						
						<?php endforeach; endif; ?>
						
						<?php endif; ?>
						
					</ul>
					
					
					<br/>
					<div class="clearfix"></div>
					</div><!-- close .alignright -->
				
					<script type="text/javascript">
					jQuery(document).ready(function($) {
						$('#slider-2').anythingSlider({
							delay               : <?php echo of_get_option('portfolio_speed', '3500'); ?>,      // How long between slideshow transitions in AutoPlay mode (in milliseconds)
							animationTime       : <?php echo of_get_option('portfolio_transition', '400'); ?>,       // How long the slideshow transition takes (in milliseconds)
							buildArrows         : <?php echo of_get_option('portfolio_arrows', 'false'); ?>,      // If true, builds the forwards and backwards buttons
							buildNavigation     : true,      // If true, buildsa list of anchor links to link to each panel
							autoPlay            : <?php echo of_get_option('portfolio_timer', 'true'); ?>,      // This turns off the entire slideshow FUNCTIONALY, not just if it starts running or not
							hashTags            : false,      // Should links change the hashtag in the URL?
							resizeContents      : true,
							addWmodeToObject    : 'transparent',
							startStopped        : false,     // If autoPlay is on, this can force it to start stopped
							pauseOnHover        : true,      // If true & the slideshow is active, the slideshow will pause on hover
							resumeOnVideoEnd    : true      // If true & the slideshow is active & a youtube video is playing, it will pause the autoplay until the video has completed
						});
					});
					</script>
					
					
					
					<div class="portfolio-single-small-left">
					<div class="portfolio-details"><?php _e('by','progressionstudios'); ?> <?php echo  the_author_meta('user_nicename',$post->post_author); ?> <?php _e('on','progressionstudios'); ?> <?php the_time('F d, Y'); ?></div>
					
					<?php the_content(); ?>
					
					
					</div>
					
					<?php endif; ?>
					
					<div class="clearfix"></div>
					<hr/>
					
					<div class="portfolio-tags"> 
						
							<?php
								echo get_post_meta(get_the_id(), 'pyre_video_embed_link', true);
							 echo get_the_term_list( $post->ID, 'type', __( '<strong>Tags</strong>: ', 'progressionstudios' ), ', ', '' ); 
								// Fetch tags of this post, and show them one by one.
							/*	$posttags = get_the_tags(); 
								if($posttags) //to avoid errors when there are no tags for a post.
								$counterx=0;
								foreach($posttags as $tag)
								{
									echo '<a href="'.get_tag_link($tag->term_id).'" alt="'.$tag->name.'" title="'.$tag->name.'">'.$tag->name.'</a>';
									if(!$counterx)
										echo ', ';
									$counterx++;
								}	*/
							
							?>
					</div>
					
			
					
					<div class="social-networking-portfolio">
						<?php if(of_get_option('googeplus_icon', 'yes') == 'yes'): ?>
						<div class="google-plus">
							<!-- Place this tag where you want the +1 button to render -->
							<g:plusone size="medium" href="<?php the_permalink(); ?>"></g:plusone>
							<!-- Place this render call where appropriate -->
							<script type="text/javascript">
							  (function() {
							    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
							    po.src = 'https://apis.google.com/js/plusone.js';
							    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
							  })();
							</script>
						</div>
						<?php endif; ?>
						
						<?php if(of_get_option('twitter_icon_button', 'yes') == 'yes'): ?>
						<div class="twitter-button"><a href="https://twitter.com/share" data-url="<?php the_permalink(); ?>" data-text="Check out this site" class="twitter-share-button" target="_blank">Share on Twitter</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>
						<?php endif; ?>
						
						<?php if(of_get_option('facebook_icon_button', 'yes') == 'yes'): ?>
						<div><a name="fb_share" type="button_count"  share_url="<?php the_permalink(); ?>" target="_blank">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div>
						<?php endif; ?>
						
						<?php if(of_get_option('facebook_like_button', 'yes') == 'yes'): ?>
						<div><iframe src="http://www.facebook.com/plugins/like.php?href=<?php the_permalink(); ?>&amp;layout=button_count&amp;show_faces=true&amp;width=90&amp;action=like&amp;colorscheme=light&amp;height=23" scrolling="no" allowtransparency="true" frameborder="0" style="border:none; overflow:hidden; width:85px; height:23px; background:transparent; margin-right:-15px;"></iframe></div>
						<?php endif; ?>
					</div><!-- close .social-networking-portfolio -->
					
					
					<div class="clearfix"></div>
					
					
					
					<?php if(of_get_option('portfolio_comments', 'yes') == 'yes'): ?>
					
					
					<!-- if comments for portfolio -->
					<hr>
					
					<div id="comments">
						
						<?php comments_template(); ?>
						

					</div><!-- #comments -->
					
					<?php endif; ?>
					
					
					
					
					
				</div><!-- close .portfolio-single -->
	
			</div><!-- close .page-content -->
			
			
			
			
			<div class="clearfix"></div>
				
			
		</div><!-- close .content-container -->
		
		<div class="content-container-base-pagination">
			
		</div><!-- close .content-container-base or .content-container-base-pagination -->
		
			<?php
				endwhile;
			?>
	
<?php get_footer(); ?>

Open in new window

RobOwner (Aidellio)Commented:
Just looking at the markup, there seem to be multiple versions of the image at different resolutions.  Is this correct?
RobOwner (Aidellio)Commented:
http://www.thedancingsoul.ie/wp-content/uploads/2013/11/

Shows there are multiple versions of the same image at different resolutions
jonathanduane2010Author Commented:
so how can i make the ones on that page show at a diff resolution??
RobOwner (Aidellio)Commented:
It's the grid Plugin your using on that front page to display them. I'll also look through your template
RobOwner (Aidellio)Commented:
Looks like you've fixed it?
jonathanduane2010Author Commented:
yes! thank you for your help!
RobOwner (Aidellio)Commented:
Did any of the comments help? otherwise please post how you got your solution and accept that as the answer. I'd like to know how you got there! :-)
jonathanduane2010Author Commented:
Hi Rob, there seemed to be a setting in the template buried away, that let me adjust the images set on that page so seeing as you mentioned it looked like a template issue, i think you deserve the points :)
RobOwner (Aidellio)Commented:
Thanks Jonathon
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.