Home Forums WordPress Plugins Hide My WP Timthumb

This topic is: not resolved
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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…

    #428
    Hassan
    Post count: 955

    Please provide URL with some TimThumb images plus your login details and I’ll do it 🙂

    PS:
    Enable private reply

    #554
    willzemberg
    Post count: 9
    This reply has been marked as private.
    #556
    Hassan
    Post count: 955

    Your 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=1

    Add this rule to Replace in URL:
    timthumb.php?src[equal]http://willsilva.com.br/degusti/file=timthumb.php?src[equal]../../uploads

    #558
    willzemberg
    Post count: 9

    Hassan did not work.
    See my code in url

    http://pastebin.com/900W5K3N

    Please renewed to me the line of code will look like for me to just copy the code and put it here.

    Attachments:
    You must be logged in to view attached files.
    #561
    Hassan
    Post count: 955

    It 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.

    #563
    willzemberg
    Post count: 9

    I 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
    #566
    Hassan
    Post count: 955

    You 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]../../uploads

    If 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.
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.