simpson7647 Posted October 13, 2010 Share Posted October 13, 2010 hi all, how can i insert a picture so that it is within the text rather than out on its own?I am doing this as im looking to add in a picture which is actually a box with stats and info in, which needs to be in between certain pieces of text.Many thanks allRyan Link to comment Share on other sites More sharing options...
Martin Velikov Posted October 13, 2010 Share Posted October 13, 2010 Just use the Insert/Edit image button in the WYSIWYG editor for the product. It looks like a little image of a tree Link to comment Share on other sites More sharing options...
simpson7647 Posted October 13, 2010 Author Share Posted October 13, 2010 oh there, thank you very much.One other question, usually i would of expected to click this then simply browse to a picture on my website and upload it although all it says is 'Image URL'What do i do here to upload a picture?many thanks Link to comment Share on other sites More sharing options...
Martin Velikov Posted October 13, 2010 Share Posted October 13, 2010 Just upload it via your control panel or using an FTP client. I presume you are using some kind of hosting account so check with your host how is it possible to upload files. Most commonly you will be able to do so using an FTP client such as FileZilla. Upload the desired files under a specific directory under your account and then submit links to them from the prestashop insert image functionality. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 13, 2010 Author Share Posted October 13, 2010 I am hosted by Hostgator but to keep it simple, i'd rather do it through the control panel.But where abouts do i upload it and how do i get an image url?Is it this? Back Office >> Catalog >> Image mappingthanks Link to comment Share on other sites More sharing options...
Martin Velikov Posted October 13, 2010 Share Posted October 13, 2010 I have no idea how things work at hostgator. I believe you should look for something called "FileManager" or similar.You should have a directory referred to as web-root. For example "public_html" or "httpdocs" - this is the directory directly accessible via your domain name. Create a sub-directory for it. For example "stats_images". Again using the "FileManager" functionality you should be able to upload the desired images under this directory.The URL to the images would be for example:http://yourdomain.com/stats_images/image_name.jpg Link to comment Share on other sites More sharing options...
simpson7647 Posted October 13, 2010 Author Share Posted October 13, 2010 thankyou very much for your reply,It does sound rather confusing, Is there not a simple way to do it via the control panel of prestashop?thanks Link to comment Share on other sites More sharing options...
Martin Velikov Posted October 13, 2010 Share Posted October 13, 2010 Yes certainly. Just use the Tools -> Import -> Upload functionality in the PrestaShop administration. The issue is that in this case you can only upload 1 file at a time but still it might be more convenient. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 13, 2010 Author Share Posted October 13, 2010 hi there, yea uploading one by one doesnt bother me as there aren't too many so thats fine.ive clicked tools, import and then uploaded the picture but how do i know what the url is for me to enter within the text?Or where does it upload the pictures to to view this?Many thanks for all your help Link to comment Share on other sites More sharing options...
simpson7647 Posted October 13, 2010 Author Share Posted October 13, 2010 Anyonee know please as hes gone off linethanks Link to comment Share on other sites More sharing options...
rocky Posted October 14, 2010 Share Posted October 14, 2010 PrestaShop v1.4 has the option to browse for and upload images using AJAX. Until it is released, you have to manually upload your images to a directory on your server (for example, upload/img) using FTP, then enter the image URL as /upload/img/image.jpg (or /shop/upload/img/image.jpg for example if you have your site in a separate directory). Link to comment Share on other sites More sharing options...
simpson7647 Posted October 14, 2010 Author Share Posted October 14, 2010 thanks for the reply rocky.heres what i tried and it didnt work.Went on to FTP being Filezila and then wentPublic_htmlImg and in there created a file called images,Uploaded a file called 018.JPGAnd then went to the text, clicked the tree and typed in./public_html/img/images/018.JPGpicture didnt show up, just showed a little icon but not the picture.Help please?thanks Link to comment Share on other sites More sharing options...
rocky Posted October 14, 2010 Share Posted October 14, 2010 You shouldn't include public_html in the URL. Try /img/images/018.JPG Link to comment Share on other sites More sharing options...
simpson7647 Posted October 14, 2010 Author Share Posted October 14, 2010 ahh thankyou very much, thats done it.Although its stupidly too big and only fits on half the screen, how can i resize it?thanks rocky Link to comment Share on other sites More sharing options...
rocky Posted October 14, 2010 Share Posted October 14, 2010 If the image is too big, you should manually resize the image yourself and reupload it. You can force the browser to scale the image, but that is never a good idea. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 14, 2010 Author Share Posted October 14, 2010 thankyou, whats the best way of resizing it?Upload in paint and resize or something?thanks again Link to comment Share on other sites More sharing options...
rocky Posted October 14, 2010 Share Posted October 14, 2010 Paint isn't very good at resizing images. I suggest that you use Paint.NET or another advanced image editor. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 16, 2010 Author Share Posted October 16, 2010 okay thankyou rocky (Y) Link to comment Share on other sites More sharing options...
Recommended Posts