• Resolved colorblind

    (@colorblind)


    Hello there,

    I am just building the portfolio site for my small design studio and I’m stuck for two days at one stupid little thing.
    I installed the grid-a-licious theme by Suprb and works like a charm. With this theme i’ve automatically installed and uploaded a plugin called “post-image.php”. Well I am no coder, and I really don’t get one little thing: Why can’t a link my post images to the whole post? How can I do that?
    I’ve tried with everything I have found on the internet, including the wpguy linked image plugin .
    Oh… And when I upload photos it formes a [gallery].
    Please help me if you can.

    The link to the site is: https://www.colorblind.ro/test

    Thank you very much,
    Tavi

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter colorblind

    (@colorblind)

    Can anyone please help me with this? I’m really stuck and I don’t know what code to change…

    Thank you,
    Tavi

    Thread Starter colorblind

    (@colorblind)

    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.

    Thank you all!

    ??

    Fuelgrafics

    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.

    resolved ??

    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, https://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

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Grid-a-licious theme problem’ is closed to new replies.