murph Posted June 1, 2004 Posted June 1, 2004 Hi, can anyone tell me how to add a good sized image on the home page to the right of the welcome message? What file would I edit to do this? What would the code be and where would it be put? Also is there any way to make the welcome message be not so wide so that the image fits beside it, or is that way too complicated for a newbie like me :lol: Thanks in advance for any help!
bobthelucky Posted June 1, 2004 Posted June 1, 2004 hi brenda ok the page i think you are talking about is catalog/includes/languges/english/index.php as far as putting an image in you just do it in html <img src="includes/languages/english/store.jpg" alt="PICTURE OF OUR STORE"><br> <a href="includes/languages/english/store1.jpg" target="_blank"><b>click here for larger picture of our store</b> </td></tr></table><br>'); this is the code i used to put a picture on my front page my site if you want to look is http://www.pilchersindianstore.com ,now the img src i put my image in the same folder as my file so this is the route you need for your page to see it.if you place it in a different folder your route will be different also i didnt want a really big image slowing my front page down sooooooo i added a link to a target_blank page if they wanted to see a larger image any questions i can help with email me or pm me hope this helps and is what you were after
murph Posted June 1, 2004 Author Posted June 1, 2004 Thanks Bob, that looks like what I was looking for. I will give it a try! Question - how did you size the image? I don't see anything in your code there for sizing yet they have an option to see a larger image? I don't want that option so would I just presize the image to what I want before I upload it and then not need your second line?
bobthelucky Posted June 1, 2004 Posted June 1, 2004 ok resize of image is poor in osCommerce you can do it through yourstore.com/catalog/admin hunt around in there . but remember if you resize the image you have NOT changed the size or pixels of it. a big pic is a big pic hard to load for dial up users hence the option to view the larger picture. i use adobe photo shop to resize my pics so if i take a pic and it is 2000 pixels i cut the one i put in page to lets say 400 pixels then if i want them to see a larger one i let them click through to one that is lets say 1000 pixels, i hope that helps if not i will try later to answer your questions im out the door to lunch right now (ttfn) taa taa for now
rekhis Posted June 2, 2004 Posted June 2, 2004 You may also like at the following contribution, which simplifies the management of index.php file via index.html - Contibution 1572
Recommended Posts
Archived
This topic is now archived and is closed to further replies.