Frontpage Images and Gallery
Home › Forums › Free Theme Support › Asteria Lite › Frontpage Images and Gallery
-
#99330
Suhajo
On February 28, 2014 at 9:59 pmHi there, me again 🙂
firstly. what is the correct size for images to be added as featured on blog posts? As when I upload and attach (I have read how to do this) they all come out different sizes and part is cut off. I saw that you mentioned previously for the slider that all image sizes must be the same so I wondered if it should be the case here?
Secondly, is there a way that I can reduce the no., of posts shown on the front page?
Thirdly, I have widgets in the footer section being ways that people can donate but need to add a few more to this, how do I make them smaller and display all in one line (I need to add 3 more)
fourthly, can I add text to the blog (frontpage) image when moused over or is this only in the pro theme
finally, I have been using Nextgen gallery but after a few problems (bad update) I have been somewhat put off as to reload all the animals would be quite a mission so I wanted to revert it to media gallery. I found coding (on google) that you can add in function.php to add in columns so that they can be sorted but I am unsure where it must go (at the beginning, middle, end and I don’t want to mess up the theme. would you check it for me and advise? I would really love to have your ‘beautify’ gallery option working but at present it is just showing normally!Why do all my images look stretched?
would you check out my site and advise please?
Coding: to add column to filter by in media gallery
<?php
// Add the columnfunction filename_column( $cols ) {
$cols[“filename”} = “Filename”;
return $cols;
}// Display filenames
function filename_value( $column_name, $id ) {
$meta = wp_get_attachment_metadata($id);
echo substr( strrchr($meta[‘file’], ‘/’ ), 1);// Register the column a sortable & sort by name
function filename_column_sortable( $cols ) {
$cols[“filename”] = “name”;return $cols;
}// Hook actions to admin_init
function hook_new_media_columns( ) {
add_filter( ‘manage_media_columns’, ‘filename_column’ );
add_action( ‘manage_media_custom_column’, ‘filename_value’, 10, 2 );
add_filter( ‘admin_upload_sortable_columns’, ‘filename_column_sortable’ );
}
add_action ( ‘admin_init’, ‘hook_new_media_columns’ );
}
?>#99695On March 2, 2014 at 12:40 amhmm.. try removing this line from layout1.php and try replacing this:
the_post_thumbnail('asteriathumb');
with this:
the_post_thumbnail('large');
#99753
Suhajo
On March 2, 2014 at 7:13 amQuick update; I’ve added in the code as shown above, but unsure whether this has done anything. Do I know need to re attach the featured images or should it have happened automatically? All images have been scaled down to 350 wide (proportionate)
Secondly, I have solved this 🙂 as I found a discussion where you answered this for someone else on the forum
The other points I am still working on and waiting patiently
Kind regards#100044On March 3, 2014 at 8:21 amDid you turn on the beautify image gallery option from Asteria Theme Options page?
#100291
Suhajo
On March 3, 2014 at 9:25 pmUpdate: I have sorted the majority of things, but still having problems with the images but this is dependent upon whether I am looking on my ipad, laptop or desktop. I am also trying to sort out how to resize them (a real learning curve here). I did work out that its not the gallery itself but because the images are in nextgen as if I set up a gallery from the images in media library it works out just fine. But I can’t seem to get to create a new gallery to link to the nextgen images. Thankfully, though I now have the site back up and it is a good representation for the rescue centre.
Any tips on what I must try next?
I had wanted to try and convert the images (with data) to media library, and remove the nextgen plugin. My reservation being of course how to sort them all and that is the code I show above as I understood that it would give me ways to filter. To re-enter all the info for each dog would be so tiresome, loading the images wouldn’t be that much of a problem just time consuming but to recreate their personal bio!
I will continue to plod on and hopefully it will come together 🙂
PS. your theme really made it easy for me to look good and who said they can’t teach ‘an old dog new tricks’
Regards Susan#100292On March 3, 2014 at 9:30 pmhow do want to resize them? and can you tell me what you are trying to achieve now, precisely?
thanks
#101193
suhajo
On March 6, 2014 at 11:16 amHi, I am working on the resizing through pixl (as seen answering someone else’s question) where all sliders need to be of the same size. I am hoping that this will sort out the problem with my sliders as they change size appearance when viewed on the website and moving between pages and back to home page. Hold thumbs for me and I will let you know if it works 🙂
#103446
Suhajo
On March 11, 2014 at 12:50 pmHi there, me again 🙂
I am unsure why but I have resized all my sliders to be of the same size but they haven’t adjusted proportionately to the slider as part of the image is cut off on that which is shown. If you check the website, you will see that in the picture of Daniel the kitten is only barely showing but they are all now of a 1024 width with a 500 height. How do I correct this?
Kind regards
NB: Oh how I love this theme, I marvel at it everytime I open the website. It is such a pleasure working with you – thank you
#104936
Suhajo
On March 13, 2014 at 6:33 pmhttp://www.uitsig.org.za I think it may be something to do with full width screen as it seems to change depending on what computer I am using
Looking forward to hearing from you
many thanks
You must be logged in to reply to this topic.