hello,
in homepage i have images (thumbnails) linked to the image hosting for viewing original size ...
there's only one image per post displayed by "the_content"
now i added that code to remove image link and add post link instead ...<<<< thats what i want.
this only work when i deleted image link, in this case visitors wont be able to view the image in original size at image hosting ...
so what i should do to make the image in home page link to the post .. and when you are in the post, image should link to its own link
and i think i will need to do that in catagories too ..
thanks in advance
__________________
Added after 59 minutes:
problem solved by sohom
many thanks
in homepage i have images (thumbnails) linked to the image hosting for viewing original size ...
there's only one image per post displayed by "the_content"
now i added that code to remove image link and add post link instead ...<<<< thats what i want.
PHP:
<a href="<?php the_permalink(); ?>"><?php the_content('',FALSE,''); ?></a>
this only work when i deleted image link, in this case visitors wont be able to view the image in original size at image hosting ...
so what i should do to make the image in home page link to the post .. and when you are in the post, image should link to its own link
Code:
<a href="http://imgchili.net/show/45340/45340927_99.png" target="_blank"><img src="http://t7.imgchili.net/45340/45340927_99.jpg" border="0" alt="45340927_99.png" /></a>
and i think i will need to do that in catagories too ..
thanks in advance
__________________
Added after 59 minutes:
problem solved by sohom
many thanks
Last edited: