October 15, 201213 yr Hello friends, I was seeing this tutorial on responsive image here and i just downloaded that page and uploaded it here but the image dont show any idea? i just wanted to test it with other images
October 15, 201213 yr Make the img url the following: <img src="./index_files/run.jpg" /> It works in my browser with the "./" prefix.
October 15, 201213 yr Author Make the img url the following: <img src="./index_files/run.jpg" /> It works in my browser with the "./" prefix. hey still no luck? http://mydomain007.host56.com/res_img/
October 15, 201213 yr What a weird issue. It only shows in Chromium when I manually edit the html with Chrome tools... even if it's basically the same link you had already. I saw you added the "./" and then I removed it with Chrome's tools and it worked... what? I'm going to play around with it... Edited October 15, 201213 yr by Pete Prosper
October 15, 201213 yr Yea I have no idea what the issue is. I even downloaded the files and ran everything locally and it works as it should. I'm sure someone will come here and give a one line solution and it'll be embarrassing (for me anyway). Sorry I couldn't be of more help...
October 15, 201213 yr Author thanks for the help i tried another code and it works see here http://mydomain007.host56.com/res_img/index2.html
October 15, 201213 yr hey still no luck? http://mydomain007.host56.com/res_img/ In this one the image it's looking for is http://mydomain007.host56.com/res_img/rwd-router/index_files/run.jpg ? Yet the HTML is at the res_img level and the source says look in index_files, no mention of rwd-router. Where is that coming from? Is it the js doing something?
October 15, 201213 yr Author yes there is some javascript for making that image responsive and i really dont understand what this line means <!-- ADD THE "r." prefix to your image extension for any responsive images --> <!-- ADD THE "r." prefix to your image extension for any responsive images --> <img src="index_files/run.jpg" width="100%"/>
October 15, 201213 yr sorry, stupid past didn't work too well http://mydomain007.host56.com/res_img/rwd-router/index_files/run.jpg is what it's looking for. I can only assume from the r. bit that it's saying have run.r.jpg and the js will look for that. Only an assumption though.
October 21, 201213 yr I'd guess you need this https://github.com/filamentgroup/Responsive-Images/blob/master/.htaccess
Create an account or sign in to comment