![]() |
Need help on wordpress and TimThumb.php
Hi guys!
I just try to use adultwpthemes.com like template and they use timthumb on it but i'm not able to use timthumb on my page. Can someone help me please? I receive everytime error on my thumbs. I just need to know what to do to have my pic appear on the big screen ( No image is associated with this post ). Thanks! |
What is the error? Also, make sure timthumb is a current version. Old versions have a huge security issue.
|
Take a look at latexpirate (dot) com and you can see the problem I have. Thanks!
|
use like this.,
timthumb.php?src=http://somedomain.com/image.jpg or <img src="timthumb.php?src=http://somedomain.com/image.jpg"> |
Quote:
if thats what u want then use plgin called gettheimage or getimage somethilng like that., then u can use something like this in your index.php <?php get_the_image( array( 'image_scan' => 'true','default_size' => 'thumbnail') ); ?> info :the script looks for the first image attached to your post. If there is one, then it grabs that image and uses it. |
I did that already but as soon as I do that, I receive a x icone.
|
i am using the get the image plugin on my site check here
movieonlineplus dot com |
Is it me or you have the same problem as me? No image appear?
|
Try cleaning your site cache out on the server if you're making changes to anything that effects an image as otherwise you would see no difference until it times out
Kind Regards Rob |
I know that but I still have the same problem.
|
I had the same problem with a site being hostef on hostgator. I contacted their support and they had to white list or white label (dont remember exactly it was called) the domain and it solved the problem.
|
Ok but now timthumbs.php work but i'm not able to put the picture on the big place. It's probably only a problem in my code. Right now it's similar to that but I probably miss something to appear on the big picture place : <a href="GALLERYURL"><img src="timthumb.php?src=nhob-396.jpg" alt="" border="1" /></a>
|
try accesing timthumb.php?src=nhob-396.jpg
if it shows the image then its fault in code or its fault in the jpg path good luck. |
Cool! this one work great but my problem if you check the website, the thumb are supposed to appear on the left side in the main menu! Now I have nothing there.
|
edit in div class photo
check tag <img src=putthecode in here"/> |
Ok here my situation. I have a Post with a description and IMAGE * <img src="timthumb.php?src=nhob-396.jpg" alt="" border="1" /> * but I think I need a special code on my post for the picture to be take from there and move on the main page because right now the noimage.jpg appear on the page.
The main page code : <div class="fpslide"> <div class="photo"> <a href="<?php the_permalink() ?>" title="<?php the_title() ?>"> <?php $key = 'thumbnail'; $themeta = get_image_path($post->ID,$key); if($themeta != '') { if($timthumb == 'on') { echo '<img src="timthumb.php?src='.$themeta.'&h=300&w =490&zc=1" alt="'.get_the_title().'" />'; } else { echo '<img src="'.$themeta.'" alt="'.get_the_title().'" />'; } } else { echo '<img src="'.get_bloginfo('template_url').'/images/noimage.jpg" alt="" />'; } ?> </a> </div> |
now check the code from right i.e. div photopost , which fetches image then copy it to the left., as simple as that, coz right is showing image.
|
All times are GMT -7. The time now is 09:24 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc