GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   Need help on wordpress and TimThumb.php (https://gfy.com/showthread.php?t=1044669)

bigmath 11-06-2011 09:09 AM

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!

Babaganoosh 11-06-2011 09:58 AM

What is the error? Also, make sure timthumb is a current version. Old versions have a huge security issue.

bigmath 11-06-2011 10:06 AM

Take a look at latexpirate (dot) com and you can see the problem I have. Thanks!

cooldude7 11-06-2011 10:39 AM

use like this.,

timthumb.php?src=http://somedomain.com/image.jpg

or

<img src="timthumb.php?src=http://somedomain.com/image.jpg">

cooldude7 11-06-2011 10:42 AM

Quote:

Originally Posted by bigmath (Post 18540433)
Take a look at latexpirate (dot) com and you can see the problem I have. Thanks!

okie so u want to show the image from the post ?

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.

bigmath 11-06-2011 10:45 AM

I did that already but as soon as I do that, I receive a x icone.

cooldude7 11-06-2011 11:35 AM

i am using the get the image plugin on my site check here


movieonlineplus dot com

bigmath 11-06-2011 11:52 AM

Is it me or you have the same problem as me? No image appear?

robber 11-06-2011 02:01 PM

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

bigmath 11-06-2011 03:04 PM

I know that but I still have the same problem.

powerteam 11-06-2011 04:56 PM

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.

bigmath 11-06-2011 05:09 PM

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>

cooldude7 11-06-2011 07:04 PM

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.

bigmath 11-06-2011 09:27 PM

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.

cooldude7 11-07-2011 12:22 PM

edit in div class photo

check tag

<img src=putthecode in here"/>

bigmath 11-07-2011 08:38 PM

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.'&amp;h=300&amp;w =490&amp;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>

cooldude7 11-07-2011 09:33 PM

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