Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 11-06-2011, 09:09 AM   #1
bigmath
Confirmed User
 
Join Date: Mar 2003
Posts: 884
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!
__________________
Adult Webmaster Empire
bigmath is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 09:58 AM   #2
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
What is the error? Also, make sure timthumb is a current version. Old versions have a huge security issue.
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 10:06 AM   #3
bigmath
Confirmed User
 
Join Date: Mar 2003
Posts: 884
Take a look at latexpirate (dot) com and you can see the problem I have. Thanks!
__________________
Adult Webmaster Empire
bigmath is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 10:39 AM   #4
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
use like this.,

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

or

<img src="timthumb.php?src=http://somedomain.com/image.jpg">
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 10:42 AM   #5
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
Quote:
Originally Posted by bigmath View Post
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.

Last edited by cooldude7; 11-06-2011 at 10:46 AM..
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 10:45 AM   #6
bigmath
Confirmed User
 
Join Date: Mar 2003
Posts: 884
I did that already but as soon as I do that, I receive a x icone.
__________________
Adult Webmaster Empire
bigmath is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 11:35 AM   #7
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
i am using the get the image plugin on my site check here


movieonlineplus dot com
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 11:52 AM   #8
bigmath
Confirmed User
 
Join Date: Mar 2003
Posts: 884
Is it me or you have the same problem as me? No image appear?
__________________
Adult Webmaster Empire
bigmath is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 02:01 PM   #9
robber
Web Developer
 
Industry Role:
Join Date: Jan 2011
Location: UK
Posts: 264
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
robber is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 03:04 PM   #10
bigmath
Confirmed User
 
Join Date: Mar 2003
Posts: 884
I know that but I still have the same problem.
__________________
Adult Webmaster Empire
bigmath is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 04:56 PM   #11
powerteam
Confirmed User
 
powerteam's Avatar
 
Industry Role:
Join Date: Apr 2010
Posts: 435
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.
__________________
Free Adult Blog Hosting - FreeAdultWP.com
ICQ: 617646871 Email: [email protected]
powerteam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 05:09 PM   #12
bigmath
Confirmed User
 
Join Date: Mar 2003
Posts: 884
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>
__________________
Adult Webmaster Empire
bigmath is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 07:04 PM   #13
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
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.
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2011, 09:27 PM   #14
bigmath
Confirmed User
 
Join Date: Mar 2003
Posts: 884
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.
__________________
Adult Webmaster Empire
bigmath is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-07-2011, 12:22 PM   #15
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
edit in div class photo

check tag

<img src=putthecode in here"/>
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-07-2011, 08:38 PM   #16
bigmath
Confirmed User
 
Join Date: Mar 2003
Posts: 884
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>
__________________
Adult Webmaster Empire
bigmath is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-07-2011, 09:33 PM   #17
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
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.
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.