Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter 793841

    Well, it isn’t the ? . I looked at the page source of a couple other blogs using monotone and that ? is there and the images show up just fine. I still can’t figure out why my images won’t display.

    Thread Starter 793841

    I sent this to my host support and they fixed it! This is what they did.

    I commented out these 2 lines from the .htaccess

    #RewriteCond %{QUERY_STRING} ^.*(w|h|f)=.*$
    #RewriteRule ^(wp-content/uploads/.*.)(jpg|JPG|jpeg|png|PNG|gif|GIF)$ /thumb.php?image=$1$2 [QSA,L]

    It looks like the script still changes the colors based on the images. I also made the cache folder permissions 755 instead of 777. 777 can cause issues.

    I have the same problem:

    1. image dont appear because the img url look like this: domain.com/wp-content/uploads/image.jpg?w=840

    2. so, i think the problem was “?w=840″ such thing that monotone added to the img url

    3. i find the “?w=840″ in functions.php. in line 84 (less or more) i find this: …image_url.’?w=…

    4. i try to hack little, adding space and two double quotes before ?w=. so the line will be: …image_url.’” “?w=…

    5. and now, the image appear. i am not a programer, and very little knowledge with PHP. i just try, and it work. I dont know what really happen!

    6. here my gallery: https://galeri.ekakurniawan.com

    If you are having problems with the query string urls (?w=) Make SURE that you have your rewrite rules installed – and that your host supports .htaccess files and mod_rewrite.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Theme adding ? after image in img tag’ is closed to new replies.