Can anyone please help me with this? I’m really stuck and I don’t know what code to change…
Thank you,
Tavi
problem solved thanks to fredrik tillgren.
You should find in “index.php” the code:
<?php if ( $img_full_url != “” ) {
echo ‘<img src=”‘ . $img_full_url . ‘” width=”‘ . $new_width . ‘” height=”‘ . $new_height . ‘” />
‘; }
} else {
echo ‘<div class=”eachpost “>
<div>’; } ?>
And replace it with this one:
” rel=”bookmark”><?php if ( $img_full_url != “” ) {
echo ‘<img src=”‘ . $img_full_url . ‘” width=”‘ . $new_width . ‘” height=”‘ . $new_height . ‘” />
‘; }
} else {
echo ‘<div class=”eachpost “>
<div>’; } ?>
Hi colorblind!
I’ve read your post cause I’ve the same problem as you (I don’t know how to make link to the post from the image).
I’ve tried to replace the index.php page code as you say in the last post but It does not work.
Is any code missing? cause after replacing the code the word ‘” rel=”bookmark”‘ appears on the image top…
Thanks for all,
Fuelgrafics
Problem solved!
That piece of code was missing the link bit ’cause of the html formatting of the posting….
so the whole tag to replace is this:
<a href="<?php the_permalink() ?>" rel="bookmark"><?php if ( $img_full_url != "" ) {
echo '<img src="' . $img_full_url . '" width="' . $new_width . '" height="' . $new_height . '" /></a>
'; }
} else {
echo '<div class="eachpost ">
<div>'; } ?>
Now it should work.
Another question I’ve got is how do you resize the images?
Anyone on that one?
Cheers π
I forget what the default is but the following, located in the index.php, will resize your images.
if ( $width < "440" ) { $new_width = "200"; $theClass = "eachpost"; }
else if ( $width < "660" ) { $new_width = "440"; $theClass = "eachpost"; }
else { $new_width = "660"; $theClass = "eachpost"; }
You can see that is says if your image is less than 440 resize it to 200. If it is less than 660 it will resize to 440. Anything over 660 drops to 660.
does work this theme on internet explorer? (i had tested it on IE 6, Win XP) and it doesn’t… on firefox works good. also the css, html checker reports toooooo many errors
Hi,
I’ve replaced the tag as posted here, but I got another problem.
The images get a black outline that I really hate!
How to get rid that outline?
Thank you.
Hi kolektiv:
can u tell me how to get rid that outline as u did?
many thanks.
(also i had tested IE 6 here too. doesn’t work)
Hi,
I have tried adding this code as suggested in the above post but i am still not getting any images on the index page, this is most confusing, any ideas?
Cheers
Hi kolektiv:
can u tell me how to get rid that outline as u did?
many thanks.
you just need to add border=”0″ to the image-code-part.
another question about the great theme:
how can i get the smooth fading mouseover at the preview-posts on the mainpage? i’ve find a solution with mouseover in the css, but it’s not that cool fading π
also the preloader, which is running in the most of the sample-pages who are using grid-a-licious. how do i make that?
thanks for the support.
mike
Im after a slight ammendment to the grid-a-licious theme and linking.
I want to have, on the main page, just images and a link under it.
When you click the image or link, it opens the post with as normal but i want to have a large extract of text in there.
If i post a large extract of text now it appears on the main screen which i dont like.
Any ideas?
Hi, I have a little question about Grid-A-Licious.
I use this theme on my blog website, http://www.stefantrifan.com/blog/, I loved this, but I dont know how can I post Image on front page.
If any can help me?
Thanks.
hi. i also have a problem with Grid-a-licious.
I did not install WordPress onto my hard drive. I just installed it straight onto WordPress. So when installing Grid-a-licious I cannot replace the WordPress file ‘media.php’ with the Grid-a-licious one.
can anyone help me?
thanks