sammy-jo Posted July 1, 2005 Share Posted July 1, 2005 :( HI, when i try to upload my logo on to the front page all i get is a box with a red cross, what format does my image need to be in before i upload it to the website. i have tried jpeg and tif, and no joy!! sam Link to comment Share on other sites More sharing options...
♥swolsten Posted July 1, 2005 Share Posted July 1, 2005 :( HI, when i try to upload my logo on to the front page all i get is a box with a red cross, what format does my image need to be in before i upload it to the website. i have tried jpeg and tif, and no joy!! sam <{POST_SNAPBACK}> jpg is fine, you can also use gif as its a smaller file format but not as high resolution. Make sure you header.php file includes the correct <img src=.....> and make sure the file has global read permissions. Try accessing the file directly to confirm that the webserver has permissions to serve the file. http://www.yourdomain.com/images/imagefilename.ext Dont forget to Search. Your problem has already been fixed before.<br> Please visit Manchester-Fireworks.com. Link to comment Share on other sites More sharing options...
sammy-jo Posted July 1, 2005 Author Share Posted July 1, 2005 jpg is fine, you can also use gif as its a smaller file format but not as high resolution. Make sure you header.php file includes the correct <img src=.....> and make sure the file has global read permissions. Try accessing the file directly to confirm that the webserver has permissions to serve the file. http://www.yourdomain.com/images/imagefilename.ext <{POST_SNAPBACK}> okay thanx but what does <img src=.....> mean?? Link to comment Share on other sites More sharing options...
♥swolsten Posted July 1, 2005 Share Posted July 1, 2005 okay thanx but what does <img src=.....> mean?? <{POST_SNAPBACK}> In your header.php file you should have the following line <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> This tells teh website to use oscommerce.gif as the default logo. This should be updated with the name of your new site logo (and alt text). PM me your URL if you want me to see what the current image name is set to. Dont forget to Search. Your problem has already been fixed before.<br> Please visit Manchester-Fireworks.com. Link to comment Share on other sites More sharing options...
sammy-jo Posted July 1, 2005 Author Share Posted July 1, 2005 im sure its set to that http://www.getyourink.com Link to comment Share on other sites More sharing options...
sammy-jo Posted July 1, 2005 Author Share Posted July 1, 2005 "><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'SAMMY.TIF', 'GetYourInk') . '</a>'; ?></td> this is what its set to Link to comment Share on other sites More sharing options...
♥swolsten Posted July 1, 2005 Share Posted July 1, 2005 "><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'SAMMY.TIF', 'GetYourInk') . '</a>'; ?></td> this is what its set to <{POST_SNAPBACK}> http://www.getyourink.com/catalog/images/SAMMY.TIF returns a file not found (404) error. You are allowing folder browsing of your image folder, this should be disabled asap. But it does help with your problem ;) tep_image(DIR_WS_IMAGES . 'SAMMY-LOGO.jpg', 'GetYourInk') Or tep_image(DIR_WS_IMAGES . 'SAM%20NEW%20LOGO.jpg', 'GetYourInk') should fix the problem. Unix servers require CaSe SeNsItIvE filenames. Dont forget to Search. Your problem has already been fixed before.<br> Please visit Manchester-Fireworks.com. Link to comment Share on other sites More sharing options...
sammy-jo Posted July 1, 2005 Author Share Posted July 1, 2005 "><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'SAMMY-LOGO.JPG', 'GetYourInk') . '</a>'; ?></td> Hve changed to this however still not working, how do i disable browsing???? Link to comment Share on other sites More sharing options...
♥swolsten Posted July 1, 2005 Share Posted July 1, 2005 "><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'SAMMY-LOGO.JPG', 'GetYourInk') . '</a>'; ?></td> Hve changed to this however still not working, how do i disable browsing???? <{POST_SNAPBACK}> .jpg not .JPG. the file has the extension in lower case. Dont forget to Search. Your problem has already been fixed before.<br> Please visit Manchester-Fireworks.com. Link to comment Share on other sites More sharing options...
sammy-jo Posted July 1, 2005 Author Share Posted July 1, 2005 :thumbsup: ha ha thanx so much!!!!didnt even notice that!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.