Home › Forums › WordPress Plugins › Hide My WP › Timthumb
- This topic has 7 replies, 3 voices, and was last updated 11 years ago by Hassan.
-
AuthorPosts
-
November 18, 2013 at 10:27 am #421
The theme i am using has Timthumb but i have no idea how to get it to work the instructions dont make to much sense to me and i tryied various ways to get hide my wp to work can anybody help me out…
November 21, 2013 at 6:46 pm #428HassanPost count: 955Please provide URL with some TimThumb images plus your login details and I’ll do it 🙂
PS:
Enable private replyJanuary 5, 2014 at 12:18 am #554willzembergPost count: 9This reply has been marked as private.January 5, 2014 at 8:58 am #556HassanPost count: 955Your images URL should be something like this:
http://www.willsilva.com.br/degusti/template/scripts/timthumb.php?src=../../uploads/2013/11/foto6.jpg&w=648&h=300&q=100&zc=1Add this rule to Replace in URL:
timthumb.php?src[equal]http://willsilva.com.br/degusti/file=timthumb.php?src[equal]../../uploads
January 5, 2014 at 3:48 pm #558willzembergPost count: 9Hassan did not work.
See my code in urlPlease renewed to me the line of code will look like for me to just copy the code and put it here.
- This reply was modified 11 years ago by willzemberg.
Attachments:
You must be logged in to view attached files.January 5, 2014 at 5:44 pm #561HassanPost count: 955It should work!
Please flush both your browser and server cache and try again.
Your source code (previous screenshot) should be changed after saving settings.
If it doesn’t give me login details for a deeper look.
January 5, 2014 at 6:46 pm #563willzembergPost count: 9I just want to tell me the correct code to I put in:
<img src="........................ " />
Only this. The rest I do.**My Code HTML + PHP:**
<img src="http://www.willsilva.com.br/degusti/template/scripts/file=timthumb.php?src=<?php the_field('img-capa');?>&w=648&h=400&q=400&zc=1" />
** The Out put code **
http://www.willsilva.com.br/degusti/template/scripts/timthumb.php?src=http://willsilva.com.br/degusti/file/2013/11/foto6.jpg&w=648&h=300&q=100&zc=1
But the image does not appear.
A TimThumb error has occured The following error(s) occured: Could not find the internal image you specified. Query String : src=http://willsilva.com.br/degusti/file/2013/11/foto6.jpg&w=648&h=300&q=100&zc=1 TimThumb version : 2.8.13
- This reply was modified 11 years ago by willzemberg.
- This reply was modified 11 years ago by willzemberg.
January 5, 2014 at 9:13 pm #566HassanPost count: 955You should not change your PHP code!
HMWP automatically scans final HTML output and change what is needed just like themes, plugins, etc.
In your final code image source () should be something like this:
http://www.willsilva.com.br/degusti/template/scripts/timthumb.php?src=../../uploads/2013/11/foto6.jpg&w=648&h=300&q=100&zc=1
(See the timthumb.php?src=../../uploads)Your current URL is below and it’s totally wrong:
http://www.willsilva.com.br/degusti/template/scripts/file=timthumb.php?src=http://willsilva.com.br/degusti/file/2013/11/foto6.jpg&w=648&h=400&q=400&zc=1
(file= is invalid, src=http://… won’t work)We just uses Replace in HTML to create the correct URLs. It changes old to new by old=new. If there was an = sign in our keywords we should use [equal]. So please restore your PHP code (as default) then add this rule to Replace in HTML:
timthumb.php?src[equal]http://willsilva.com.br/degusti/file=timthumb.php?src[equal]../../uploadsIf it doesn’t work provide debug report from start tab or change some test keywords (e.g. DEGUSTI=DEGUSTI2) to make sure Replace in HTML work.
- This reply was modified 11 years ago by Hassan.
-
AuthorPosts
You must be logged in to reply to this topic.