graham23s Posted January 26, 2010 Share Posted January 26, 2010 Hi Guys, This is astrange one lol, when i upload a product to my site i do: product-name (then i make the image the same name) product-name.jpg if i have: £-or-$-product-name.jpg any of those characters in the image name. it displays and works fine on localhost but not when i do it on my server. thumb-$1000-something.jpg <-- displays fine on localhost but the "$" makes it not show on my live site, i'm not sure what the heck could be up any help would be great thanks guys Graham Quote Link to comment Share on other sites More sharing options...
schilly Posted January 26, 2010 Share Posted January 26, 2010 putting special characters in your filenames is just asking for trouble. can't you leave them out? why would you put the price in the filename? Quote Link to comment Share on other sites More sharing options...
jl5501 Posted January 26, 2010 Share Posted January 26, 2010 If you must have these odd characters in the file name, you need to check what the html is actually looking for. Do a view source on the displayed page and see what actually ends up in the src attribute of the img tag, and then check that that exact file is on the server in the location being looked for. But in general I would avoid any special characters in filenames, especially spaces Quote Link to comment Share on other sites More sharing options...
teamatomic Posted January 26, 2010 Share Posted January 26, 2010 see if urlencode() will let it display HTH Teamatomic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.