vasan82 Posted March 27, 2014 Share Posted March 27, 2014 (edited) Hi , I am not able to add new images to the "Image slider for your homepage" module and it is not working. I am getting error stating that the Image is not set . Kindly help. Edited March 27, 2014 by vasan82 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 28, 2014 Share Posted March 28, 2014 you said that you've got problem with new pictures. YOu don't see them in front office? or both in front and back end? this error appears in front office or in back office? Link to comment Share on other sites More sharing options...
gloginko Posted April 9, 2014 Share Posted April 9, 2014 I just updated the homeslider module and suddenly all the images stopped being displayed. Only 1 big question mark occurs. I have disabled and enabled the module. Deleted and uploaded the pictures - but with no result. Please advise a solution. You can check the site live at: http://prestashop.herbalbg.com/bg/ In the english version the slider stays empty - not displaying the image, but the big question mark is not displayed as well http://prestashop.herbalbg.com/en/ The file is visible in BO only on the english version Thanks a lot 1 Link to comment Share on other sites More sharing options...
armin_surf Posted April 9, 2014 Share Posted April 9, 2014 Hi, I have the same problem with the sliders. After updating the links are broken... thank you very much. Link to comment Share on other sites More sharing options...
Mama Online Store Posted April 9, 2014 Share Posted April 9, 2014 Can help? My Image Slider wont works after updating the module. www.mamaonlinestore.com/shop Link to comment Share on other sites More sharing options...
bgiguere Posted April 9, 2014 Share Posted April 9, 2014 Hello all, a solution was posted here : http://www.prestashop.com/forums/topic/322403-where-are-my-images/ Cheers 1 Link to comment Share on other sites More sharing options...
Mama Online Store Posted April 9, 2014 Share Posted April 9, 2014 I finally understand. PLEASE CHANGE IMG TO IMAGES !!!! 1 Link to comment Share on other sites More sharing options...
shopcoiffure Posted April 9, 2014 Share Posted April 9, 2014 I had exactly the same problem and to make it easy to understand for people like me who are not specialists, the solution is: 1. go to yoursite/themes/default-bootstrap/modules/homeslider and download the file homeslider.tpl 2. open the file in an editor like Komodo Edit 3. on line 35 you have this: <img src="{$link->getMediaLink("`$smarty.const._MODULE_DIR_`homeslider/images/`$slide.image|escape:'htmlall':'UTF-8'`")}"{if isset($slide.size) && $slide.size} {$slide.size}{else} width="100%" height="100%"{/if} alt="{$slide.legend|escape:'htmlall':'UTF-8'}" /> 4. Change homeslider/images by homeslider/img and save 5. Upload the new homeslider.tpl file at the same place as where it was 6. it's done 3 Link to comment Share on other sites More sharing options...
gloginko Posted April 9, 2014 Share Posted April 9, 2014 Here a Protugese guy gas found a solution i think I tried it and worked. just change the images to img in the homeslider.tpl file Olá pessoal, Atualizei o módulo slider no meu prestashop e as imagens não apareceram mais. Há um erro bem simples nos arquivos tpl do módulo. Para resolver façam o seguinte: - No arquivo /public_html/modules/homeslider/homeslider.tpl mude o caminho da pasta de imagens de images para img: Quote <img src="{$link->getMediaLink("`$module_dir`img/`$slide.image|escape:'htmlall':'UTF-8'`")}" alt="{$slide.legend|escape:'htmlall':'UTF-8'}" height="{$homeslider.height|intval}" width="{$homeslider.width|intval}" /> Mude também no arquivo do módulo dentro da pasta do tema em /public_html/themes/default-bootstrap/modules/homeslider/homeslider.tpl: Quote <img src="{$link->getMediaLink("`$smarty.const._MODULE_DIR_`homeslider/img/`$slide.image|escape:'htmlall':'UTF-8'`")}"{if isset($slide.size) && $slide.size} {$slide.size}{else} width="100%" height="100%"{/if} alt="{$slide.legend|escape:'htmlall':'UTF-8'}" /> Lembrando que o caminho do arquivo na pasta do tema deve seguir o seu tema, neste caso o caminho é do tema default do Prestashop 1.6.0.5. Até mais !!! Link to comment Share on other sites More sharing options...
ufukengin Posted April 10, 2014 Share Posted April 10, 2014 there is still a problem with it: Icannot see the arrow to control (slide ) the images? Help PLS Link to comment Share on other sites More sharing options...
Modesco Posted April 10, 2014 Share Posted April 10, 2014 I'm stuck, I get we have to change a setting but how do we get to "yoursite"/themes/default-bootstrap/modules/homeslider and where is this file manager that;s quoted in the picture I see ? Link to comment Share on other sites More sharing options...
shopcoiffure Posted April 10, 2014 Share Posted April 10, 2014 Hello, for the arrows that you don't see, the problem is almost certainly that the images you uploaded are not high enough, or that they have a white background. Try to upload an image the same size as the default ones and not having a white background. @Modesco, you need to have an access to your server via a ftp software like filezilla (or the administration panel offered by the hoster) to find the file Link to comment Share on other sites More sharing options...
dioniz Posted April 10, 2014 Share Posted April 10, 2014 Modesco you need to open that file with any text editor like Notepad++ and change code. 1 Link to comment Share on other sites More sharing options...
vasan82 Posted April 10, 2014 Author Share Posted April 10, 2014 you said that you've got problem with new pictures. YOu don't see them in front office? or both in front and back end? this error appears in front office or in back office? Thanks for your reply I am not able to see the images in the main home page once the images are uploaded . I reinstalled the shop . I also find the same problem is encountered in the page http://papyrusartgallery.com/content/1-delivery where i want to add images of the Mailing tube shiping box . I only see a image which has a question mark in it . I dont know why . Some image issues were resolved by using a different browser (Morzilla instead of Internet explorer .) Link to comment Share on other sites More sharing options...
vasan82 Posted April 10, 2014 Author Share Posted April 10, 2014 (edited) you said that you've got problem with new pictures. YOu don't see them in front office? or both in front and back end? this error appears in front office or in back office? you said that you've got problem with new pictures. YOu don't see them in front office? or both in front and back end? this error appears in front office or in back office? Though the img was changed to images I am getting the error attached . Please check the attchment Edited April 11, 2014 by vasan82 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 10, 2014 Share Posted April 10, 2014 i don't see any attachment, can you reattach it, please? Link to comment Share on other sites More sharing options...
ufukengin Posted April 10, 2014 Share Posted April 10, 2014 working perfectly shopcoiffure Thank you, and thank you guys... Link to comment Share on other sites More sharing options...
vasan82 Posted April 11, 2014 Author Share Posted April 11, 2014 (edited) Though the img was changed to images I am getting the error attached . Please check the attchment Are you able to see my attachments . Edited April 11, 2014 by vasan82 (see edit history) Link to comment Share on other sites More sharing options...
vasan82 Posted April 11, 2014 Author Share Posted April 11, 2014 (edited) I am not able to attach files , How do i do it . I am not able to see the images i attached . Updated on 4/11/2014 I am not able to recreate the issue . I am attaching a similar issue that i am facing .... Some times question marks are displayed . Thanks for your support .. Edited April 11, 2014 by vasan82 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 11, 2014 Share Posted April 11, 2014 click on edit post button then use this for to upload own files: Link to comment Share on other sites More sharing options...
ltdavid Posted April 13, 2014 Share Posted April 13, 2014 I tried all of this advise, and edited the homeslider.tpl file but I am still seeing a large "?" where the photos are supposed to be displayed. This is clearly a bug so why doesn't anyone at PS fix this problem in an UPDATE to the homeslider file Link to comment Share on other sites More sharing options...
dioniz Posted April 13, 2014 Share Posted April 13, 2014 ltdavid, what version of homeslider you have? Link to comment Share on other sites More sharing options...
jetx Posted April 13, 2014 Share Posted April 13, 2014 All I wanted to do was to configure homeslider and I saw the dreaded update (dreaded I know how these things often fail from sloppy coding in prestashop and in so doing break the shop). The whole update method is just ridiculous. Apparently (at lease in an obvious way) it is not possible to configure a mod which requires an update. Why are updates forced in this way. At any rate I made the change to the tpl as explained above which brought back the slider as it was. However, the configure portion is still broken. 1 Link to comment Share on other sites More sharing options...
jetx Posted April 13, 2014 Share Posted April 13, 2014 ok, the fix on the previous page is not quite correct. Leave the tpl file as it is and just rename the modules/homeslider/img dir to images. Link to comment Share on other sites More sharing options...
dioniz Posted April 13, 2014 Share Posted April 13, 2014 (edited) It was correct for that version but then developers changed image folder again. This is for everyone having problems: Update homeslider to latest version and if your image folder name is img after update, rename it to images Edited April 13, 2014 by dioniz (see edit history) Link to comment Share on other sites More sharing options...
filediol Posted April 13, 2014 Share Posted April 13, 2014 (edited) I changed folder img to images but than I got the problem with all images at my site...no images for Featured products,no images for New products...and no images for my Image slider Is there any other solution? Hmmm Now I changed "homeslider/img/" to "homeslider/images" in themes/default-bootstrap/modules/homeslider/homeslider.tpl and it seems everything is ok now. Edited April 13, 2014 by filediol (see edit history) Link to comment Share on other sites More sharing options...
abidz05 Posted April 13, 2014 Share Posted April 13, 2014 It was correct for that version but then developers changed image folder again. This is for everyone having problems: Update homeslider to latest version and if your image folder name is img after update, rename it to images I changed folder img to images but than I got the problem with all images at my site...no images for Featured products,no images for New products...and no images for my Image slider Is there any other solution? Hmmm Now I changed "homeslider/img/" to "homeslider/images" in themes/default-bootstrap/modules/homeslider/homeslider.tpl and it seems everything is ok now. make the change inside the module which should be prestaroot/modules/homesslider/img Link to comment Share on other sites More sharing options...
med458 Posted April 14, 2014 Share Posted April 14, 2014 ok along with all that, the contact info in the footer and right is also missing and cannot be updated thanks for helping me understand to rename the foder from "img" to "images". Link to comment Share on other sites More sharing options...
ltdavid Posted April 14, 2014 Share Posted April 14, 2014 SNAFU - I have the latest version as I have updated it because doing so was compulsory. Why doesn't prestashop make or create some type of smart-update based on how your directory is already set-up... instead of driving people nuts with this ridiculous coding error. I deleted the entire installation and reinstalled PS.. My image directory within homeslider is already named "images" but now I am having the following error everytime I try to upload an image. "An error occurred during the image upload process." This bug has been around, in one form or another, for more than a year and still no one has coded in a proper undate that is a "catch all" fix. I am somewhat a conspiracy theorist by nature. My personal opinion is that PS doesnt want this module to work because now there are "for purchase" modules now that are essentially identical to homeslider module. What's better than making people so fed up with the buggy "FREE" module that it makes the end user buy a similar module that is bug-free while offering technical support to the buyer. This is not a clever marketing tool "methodolgy"... If they offer it, - or have ever offered it free - as part of of the basic intall of PS, they should get off their 4 points of contact too fix this mess 1 Link to comment Share on other sites More sharing options...
ltdavid Posted April 14, 2014 Share Posted April 14, 2014 The previous advice about editing the homeslider.tpl was wrong. Also. If you aleady upgraded then "Images" is most likely already your image directory name (you should check anyways too make sure). /modules/homeslider/images is correct - /modules/homeslider/img is wrong I had a PHP [spam-filter] (buddy of mine) suggest that I make the following coding correction on homeslider.tpl <li class="homeslider-container"> <a href="{http://www.yourdomain.com|escape:'html':'UTF-8'} and walla - IT WORKS!!!!! 1 Link to comment Share on other sites More sharing options...
Yzzy Posted April 15, 2014 Share Posted April 15, 2014 The previous advice about editing the homeslider.tpl was wrong. Also. If you aleady upgraded then "Images" is most likely already your image directory name (you should check anyways too make sure). /modules/homeslider/images is correct - /modules/homeslider/img is wrong I had a PHP [spam-filter] (buddy of mine) suggest that I make the following coding correction on homeslider.tpl <li class="homeslider-container"> <a href="{http://www.yourdomain.com|escape:'html':'UTF-8'} and walla - IT WORKS!!!!! Didn't work for us sadly... blank page Link to comment Share on other sites More sharing options...
ltdavid Posted April 16, 2014 Share Posted April 16, 2014 I have homeslider version 1.3.7.... Let me tell you that my fix - the one I described WORKS! The homeslider.tpl was edited as follows (Note: the spacer below" | highlighted in red must not be deleted or have space before or after it : foreach from=$homeslider_slides item=slide} {if $slide.active} <li class="homeslider-container"> <a href="{http://www.yourdomain.com|escape:'html':'UTF-8'}" title="{$slide.legend|escape:'html':'UTF-8'}"> <img src="{$link->getMediaLink("`$smarty.const._MODULE_DIR_`homeslider/images/`$slide.image|escape:'htmlall':'UTF-8'`")}" alt="{$slide.legend|escape:'htmlall':'UTF-8'}"/>! Link to comment Share on other sites More sharing options...
ltdavid Posted April 16, 2014 Share Posted April 16, 2014 There is a new update now, but I am scared to click on it... This module is the most bug riddled piece of coding that I have ever come across... and updates are forced on you insead of being an option... which doesnt make sense it you already debugged it and it is working Link to comment Share on other sites More sharing options...
ltdavid Posted April 16, 2014 Share Posted April 16, 2014 sometimes I get "click-happy" without first proof-reading my comments... so sorry about my type-o errors. 1 Link to comment Share on other sites More sharing options...
Yzzy Posted April 16, 2014 Share Posted April 16, 2014 <a href="{http://www.yourdomain.com|escape:'html':'UTF-8'}" title=" Trouble is I am testing this on a store in a folder I added /shop to the url and that perhaps stopped it working? Link to comment Share on other sites More sharing options...
Yzzy Posted April 16, 2014 Share Posted April 16, 2014 Hmm ok... might be another issue I have as I tried to add a background image to the shop and I have a tiled ??????? effect going on. SO that hasn't loaded either.. Link to comment Share on other sites More sharing options...
Yzzy Posted April 16, 2014 Share Posted April 16, 2014 This REALLY sucks... it seems the Slider is causing rubbish for most image uploads.... can someone pretty please help fix? Link to comment Share on other sites More sharing options...
Alvancrest Posted May 21, 2014 Share Posted May 21, 2014 Hello Everyone, i just installed prestashop 1.6.0.6, and i am having some challenges with the home page image slider module v1.3.9. the navigation arrows aren't there anymore and the slides are not moving. Please, is there reason for this. I am quite new to prestashop and i will appreciate if someone can put me through. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts