asgllccb Posted September 11, 2015 Share Posted September 11, 2015 I am using version 1.6.0.8 and my site is not loading images when in pages where SSL is active. So the cart, user account pages, contact page, etc. Whatever page is included with SSL all the images are gone. Chrome inspect element shows the links the same as normal except on the SSL pages the URL links have "https" at the beginning. Any ideas? Link to comment Share on other sites More sharing options...
Simonas Invertus Posted September 11, 2015 Share Posted September 11, 2015 I am sorry, I do not understand. Does image links has https or not? Link to comment Share on other sites More sharing options...
asgllccb Posted September 11, 2015 Author Share Posted September 11, 2015 Thank you for the reply. Whatever page is using https, no images are loading. The image links for the https pages are also showing as https, but no image is being displayed. My host says the images are all hard coded...don't know what that means or how images interact with ssl. I just upload Jpg images for everything where asked. Link to comment Share on other sites More sharing options...
asgllccb Posted September 12, 2015 Author Share Posted September 12, 2015 This is very troubling. I have been scouring for information on this and in the process also went through my modules and updated many of them and checked settings on may others. I did this one at a time to watch affects. Unfortunately, in the process I lost another thing. I have changes the colors of my top horizontal menu because I found that the drab default colors for the horizontal menu was a turn off for customers. Unfortunately, with one of the module updates, now the horizontal menu bar is totally white on all the SSL/https pages. If you hold a mouse over a menu item, the highlight color makes it visible, otherwise it is white, text and background, so its not visible. No one is going to order from my shop like this. Sommebody pleeaaase help! Link to comment Share on other sites More sharing options...
asgllccb Posted September 12, 2015 Author Share Posted September 12, 2015 Just as a note for public information... The menu problems we had was tracked down to updating the theme configurator module. The only way to get the menu back was to reset it; however, in the process, this also caused a loss of all information in the configurator. So I don't know that I would recommend upgrading the configuartor to the latest version. Link to comment Share on other sites More sharing options...
Simonas Invertus Posted September 14, 2015 Share Posted September 14, 2015 My host says the images are all hard coded...don't know what that means This means that they are written in your theme/module or whatever code and it is bad thing. I have a hunch that in your code images are written like: http://yoursite.com/images/name.jpg and when you install SSL your address changes to httpS so server can not find images because they are in different address which does not exist. If I am right to fix this issue is not hard just takes a lot of time to find all images and add S letter to the address. I do not think that you will be able to do it yourself if you do not know anything about coding, but even beginner developer can fix this. Link to comment Share on other sites More sharing options...
asgllccb Posted September 15, 2015 Author Share Posted September 15, 2015 Thanks again for your reply. I am using only the basic basic prestashop themes and module and all images I have uploaded have strictly been only through prestashops built in product and configurator. As an update, my SSL was set up only to load on pages where necessary such as the contact form, cart and account/logged in related pages. My host did change in the tools.php file to force my entire site to use SSL which now loads all images in all areas. While I know this is more in harmony with the direction google is going, the only down side is that having everything in SSL slows the site loading speed down. So now on the one hand Im probably getting dinged by google for relatively slower speed, I may be getting a small boost with SSL on everything. If I decide to keep the site as is using SSL on everything, I now have a lot of work to try to increase speed. I already have everything in performance set to improve speed except for ccc smart cache. The only reason I dont have that activated is because for some reason, when I activate it, it messes with my top horizontal menu by stretching it all the way to the top of my page, overpowering my logo, cart, contact, sitemap and everything else at the top of my page above the menu. I'm open to learning more about your feedback/recommendations on the fixes you noted above. It sounds like I would need images in both the http and https locations to get them to work in both areas if the whole site is not forced to use the https, but I may be misunderstanding you. Frankly I'm a little surprised and perplexed that prestashop would have this problem and I don't see a lot of other people commenting on it, so either everyone is using SSL on every page on their site or there is something somehow gone wrong with the default theme/code from prestashop. My site has never done this before and it makes me wonder a little if one of the module updates messed it up because it was fine after I upgraded the shop to 1.6.0.8 and the only other changes I have made have been in updating modules on occasion. So all of my image locations are default to where prestashop would put them. Thoughts? Link to comment Share on other sites More sharing options...
Simonas Invertus Posted September 15, 2015 Share Posted September 15, 2015 First I can not understand why SSL would make you site slow. It is more likely what you have errors which you can not see that makes your site slow, like 'javascript library not found' and similar. Second. No, you do not need to have images at two locations, you just need change/regenerate images paths and everything should fix itself. Now I feel like trying to catch black cat in the dark room. It is hard to guess and do not see anything for yourself. I would recommend for you to hire ~4hours of specialist for fixing/consultation. He could go thought your theme file, SSL, cache setting and fix/change what is needed. Link to comment Share on other sites More sharing options...
admar2010 Posted November 3, 2015 Share Posted November 3, 2015 (edited) Product Images Not Displaying after register user login to prestashop.if not login user no problem.(product image 250X250 not shown) Edited November 3, 2015 by admar2010 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now